Topic "FTPS upload trough proxy truncate files"

Author Message
liron
[View user's profile]
Donor
Joined: 2010-01-26
Posts: 3
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" (http://winscp.net/forum/viewtopic.php?t=5517)
or
Tracker Bug 245 "Files uploaded over FTP with SOCKS5 proxy gets corrupted"

Thanks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Does it work using other FTP client?
_________________
Martin Prikryl
liron
[View user's profile]
Donor
Joined: 2010-01-26
Posts: 3
prikryl 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.
bstoney
[View user's profile]

Joined: 2013-11-21
Posts: 2
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.

prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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.
_________________
Martin Prikryl
liron
[View user's profile]
Donor
Joined: 2010-01-26
Posts: 3
Could you send me a debug version, too?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
liron wrote:
Could you send me a debug version, too?

Thanks for getting back to me. Email sent.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1092
bstoney
[View user's profile]

Joined: 2013-11-21
Posts: 2
Thanks Martin, I've tested the fix and it worked.
ycdzvp2

Guest


prikryl wrote:
This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1092


Can the patched version of 5.1.8 or a debug version containing this fix be made available?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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).
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License