• Post Reply Bookmark Topic Watch Topic
  • New Topic

copying files  RSS feed

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone, maybe someone can give me an idea how to do this nicely. I have to go to a directory on the net somewhere and copy files from there to my local directory.
For example I need to go to http://131.223.22.45/dir/
and copy (character) files from there to my local directory.
I will probably come up with a solution but if You have some nice resources beside the ones found on java.sun.com, please let me know.
Vladan
 
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't go to your link. What resource from SUN are you talking about?
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter, I appreciate Your interest. That wasn't working link. I just need to go into a directory of particular site and copy files from there onto my computer.
I basically need to chain input and outpout streams and thought someone can provide me with example. I think Carl Trusiak posted nice one some time ago but I can't find it.
Anyway I will give it a try and if someone has any suggestions, I appreciate such.
thanks
Vladan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!