
The use of file upload with an HTML form is not a very powerful method of transferring files. If you're writing a full-blown C++ application, you should take advantage of the rich networking interfaces supported by Microsoft® Windows®. If you are writing a client-side application, I recommend that you use the WinInet functions (see Windows Internet Services). Specifically, you should use the FTP functions, since that's the proper way to transfer files between machines. You'll find some sample code that illustrates the use of FTP at Ftpcmd.exe Shows WinInet FtpCommand() Function.
|