FTPS upload trough proxy truncate files

Advertisement

liron
Donor
Joined:
Posts:
3

FTPS upload trough proxy truncate files

Files uploaded using FTPS protocol via proxy, arrive truncated to remote host. Small files are totally truncated to 0 bytes. Bigger files are truncated to 'binary blocks' like 16384 bytes. No error messages generated, normal "Upload successful" in log.

Tested from a Windows XP SP3 with WinSCP 4.3.3
Problem happens using FTP over SSL or TLS with explicit encription, and not with SFTP, SCP or plain FTP.
Tested and reproducible with HTTP proxy, SOCKS4 and SOCKS5. No problem if direct connection without proxy.

Maybe related, but different to

"File trx via FTP through SSH proxy corrupts uploaded files" (https://winscp.net/forum/viewtopic.php?t=5517)
or
Tracker Bug 245 "Files uploaded over FTP with SOCKS5 proxy gets corrupted"

Thanks

Reply with quote

Advertisement

liron
Donor
Joined:
Posts:
3

Re: FTPS upload trough proxy truncate files

martin wrote:

Does it work using other FTP client?

Is there any other FTP client? :wink:

Seriously, there are few free clients implementing FTPS and proxy features.

In a debian linux machine lftp and cURL clients works correctly using HTTP proxy. Tested also SOCKS4 & SOCKS5 with curl, no problem here.

Reply with quote

bstoney
Joined:
Posts:
2

Re: FTPS upload trough proxy truncate files

Hi,

I know this is an old post, however we are having this issue. We have only recently started using a proxy an all file transfers were working correctly without the proxy. All bytes are transferred for files downloaded over FTPS, however uploaded files are truncated or 0 bytes for small files.

martin wrote:

Does it work using other FTP client?

We have tested using FileZilla and the files are transferred correctly, but need a command line and were using winscp.com

Regards

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: FTPS upload trough proxy truncate files

bstoney wrote:

I know this is an old post, however we are having this issue. We have only recently started using a proxy an all file transfers were working correctly without the proxy. All bytes are transferred for files downloaded over FTPS, however uploaded files are truncated or 0 bytes for small files.
Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

Advertisement

martin
Site Admin
martin avatar

Re: FTPS upload trough proxy truncate files

ycdzvp2 wrote:

Can the patched version of 5.1.8 or a debug version containing this fix be made available?
The fix is also included in 5.2.7 RC (released already).

Reply with quote

Advertisement

You can post new topics in this forum