Following example shows how to send and receive files using Winsock control.
Printable View
Following example shows how to send and receive files using Winsock control.
I got registry error trying to use these files. I need to transfer a file to an ftp site using inet. i get a response code showing I am connected to the site, but then a get a can't connect to remote host error. Any ideas?
I don't see anything suggesting this CodeBank submission supports the FTP protocol.
The zip archive is mangled (at least when I downloaded it I find that there are 6 bytes of crap ahead of the archive itself). Fixing that, I find a really poor example of a file transfer program. One likely to mangle binary data, or at best be absurdly slow due to multiple implicit conversions between ANSI and Unicode... and that's just where its problems start.
Very bad example, and no, it does not support FTP.
Seriously, "These aren't the droids you're looking for,"
Thanks. There are examples that supposedly work all over the net. Somehow they don't work for me!