Great, but how do I specify what file to upload? I realize the STOR [remote-filename] specifies what the name of the file will be on the FTP server, but how do I tell the server what file to upload? Must I read the file into a string to send it?
If I use PASV, how do I know what port to use?
Thank you very much for your help.
Chris