Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

File Uploading

Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know that how can i upload files on some other machine.
The environment which i am using is
Java, Tomcat 4.0, Eclipse. and server is running on my machine.
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I need to know a little more about your situation.
If you are running an FTP server, Java can act as an FTP
client in two ways,
using RFC1738 you can make a URL style connection (Java 1.4 supports this)
Using RFC959 you can use traditional FTP,
you need an additional toolkit like the one from Jakarta net
You can upload to or download from the FTP server.
Another alternative is to use a web server like Tomcat and upload
the file using a multipart form. You will need a package like the
one from O'Rielly
Post a little more about your situation and you will get more specific
information. Are you trying to write your own server?
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic