in reply to net::ftp multiple files
I'm confused about what you want to do with this code.
Is it supposed to upload file1 and file2 to the server?
Read a list of files to copy from file1 and file2?
Copy its standard input to the server and store it as file1?
What?