how can I upload a file with sockets to a ftp server? I am reading something with \"STOR\" in RFC...It is the same how i transfer a file between two computers?A sample code woul
You really do not want to write your own implementation of the FTP protocol - it's not as simple as it might seem at first glance.
I'm using commons ftp , which gives you a nice API to all ftp operations.
If you don't need that much control, you could use URLConnection from the standard java library.