I need to send multiple files to a server. I use ftp and a statement like
RetVaL = ExecCmd("ftp -n -s:ftpparam ftp.myserver.com")
it takes 20 seconds to initialize the handshake etc on the ftp server and upload even a small file. I tremble to think what would happen with a 2 Meg file.
I would like to either find a faster way to upload, or let the ftp (or alternate) procedure carry on at its own pace while my system continues.
I could even envisage multiple uploads in parallel.
How do I make the call to the ftp routine in such a way that the processing carries on without waiting for completion?
RetVaL = ExecCmd("ftp -n -s:ftpparam ftp.myserver.com")
it takes 20 seconds to initialize the handshake etc on the ftp server and upload even a small file. I tremble to think what would happen with a 2 Meg file.
I would like to either find a faster way to upload, or let the ftp (or alternate) procedure carry on at its own pace while my system continues.
I could even envisage multiple uploads in parallel.
How do I make the call to the ftp routine in such a way that the processing carries on without waiting for completion?