April 12th, 1999, 02:59 PM
Hi;
I am trying to transfer multiple files to a remote server using CFtpConnection Write operations. I am only able to send the first file then I start throwing exceptions saying the Parameter is Incorrect. I Close each file with a call to CFtpConnection Close. Gregs submission 'Downloading Files via FTP' seems to suggest that I may need establish a new CInternetSession for each file transfer. Is this correct? It seems excessive.
Is there something I may not be doing to correctly close a file beside calling CFtpConnection close on each file such as a call to "SetEndOfFile'? Should I be calling 'SetFilePointer' to set the file size?
Thanks
I am trying to transfer multiple files to a remote server using CFtpConnection Write operations. I am only able to send the first file then I start throwing exceptions saying the Parameter is Incorrect. I Close each file with a call to CFtpConnection Close. Gregs submission 'Downloading Files via FTP' seems to suggest that I may need establish a new CInternetSession for each file transfer. Is this correct? It seems excessive.
Is there something I may not be doing to correctly close a file beside calling CFtpConnection close on each file such as a call to "SetEndOfFile'? Should I be calling 'SetFilePointer' to set the file size?
Thanks