Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transfering Files  RSS feed

 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can anyone tell how can i transfer file from 1 computer to another through java Code?
My problem is that client will provide me with a file path at his computer and i want to bring that file on my computer. How can i do that.
Please provide any code snipt or suggest any good Tutorial.Please reply soon. I'll be gratefull.
Thanks
[ April 08, 2004: Message edited by: Ali Gohar ]
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That Depends. What protocols is the client making available? FTP? HTTP? Those would be the easiest to perform with Java. You could write your own client-server app, but if there is a firewall separating the computers it could be problematic.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!