Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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).
ycdzvp2

Re: FTPS upload trough proxy truncate files

martin wrote:

This bug has been added to the tracker:
https://winscp.net/tracker/1092


Can the patched version of 5.1.8 or a debug version containing this fix be made available?
bstoney

Re: FTPS upload trough proxy truncate files

Thanks Martin, I've tested the fix and it worked.
martin

liron wrote:

Could you send me a debug version, too?

Thanks for getting back to me. Email sent.
liron

Could you send me a debug version, too?
martin

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.
bstoney

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
liron

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.
martin

Re: FTPS upload trough proxy truncate files

Does it work using other FTP client?
liron

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