Can anyone explain me how to do FTP of a document to server using JAVA. I can do get and put. But now i want to do dir listing and move through the directories of the remote machine. Is there any documents available which will explain me about this. Thanks
hi jason, actually i came across what you suggested earlier when i needed ftp client in java but i didn't figure out the way to upload the file (well even way to get the file)... can you post a sample working code to us? though i already have a ftp client written in fully java... regards maulin.
Hmmm... personally I wouldn't use any sun.net classes, as they're not really intended for public release - just internal use. I'm not even sure where you find them now. Is there any public page where they are documented, or from which they can be downloaded? Or where you can find the source code? I'd recommend using something like Jakarta Commons/Net. It's freely available, documented, and intended for public use.
"I'm not back." - Bill Harding, Twister
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop