Discuss file transfer in servlets in the Java Help forum on Dev Shed. file transfer in servlets Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
Hi:
can anyone help me with the transfer of afile from one machine to another using servlets. I want a java program which when run from the dos prompt would transfer a file on my machine (location is hardcoded) to another machine and save it in a particular folder on that machine. both the machines are in the same network.
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
Naren,
If u are looking to upload a file to another machine/server there are a couple of ways to go about it.
1) Jason hunter has a mutipart request/response @ www.servlets.com( for Form based file uploads)
2) You can use this code which is given in the o'reilly book
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by narensv:
Hi:
can anyone help me with the transfer of afile from one machine to another using servlets. I want a java program which when run from the dos prompt would transfer a file on my machine (location is hardcoded) to another machine and save it in a particular folder on that machine. both the machines are in the same network.