I establish a tunnel using puTTY between my office computer and home Linksys router running DD-WRT v23. I've forwarded port 21 on the router to a FileZilla FTP server at my home. I set up WinSCP to use a proxy connection with 'localhost' and port 3000, as configured in puTTY.
WinSCP connects without incident and I can retrieve a directory from the remote machine. I can download files from the remote machine to the client without any problem. When I try to upload a file to the remote machine, the transfer 'completes' quickly, but the file uploaded to the FTP server is corrupt.
I've experimented with different files to try to identify the problem. Oddly enough, i discovered jpg files transfer from the client to the server without becoming corrupted. All other file types I've tried -- pdf, doc, xls, etc. -- become corrupted.
Should WinSCP work as I have it configured, or am I asking for something it was not designed to do? It's a great tool and I would love to be able to transfer tools via the tunnel I use for other purposes as well.
I have the latest version of WinSCP as of this writing.
I am using FTP protocol.
I am using the commander interface.
No error messages are thrown by the software.
Steps are described above.