Topic "Cannot download linked files over FTP"

Author Message
Guestuser

Guest


Hello,

I'm using WinSCP 5.5.4 Portable on Windows 7.
I'm trying to download the following file with anonymous login: ftp://delivery04-mul.dhe.ibm.com/ecc/hsb/H54243729/U834532.bff
Logon and directory listing work, however when right clicking the file and selecting Download, nothing happens, no file is downloaded.

As far as I can see the server is using some weird symlinks, however with Filezilla or Firefox the download works and I receive a 25KB file.

If you need any further information please let me know.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
_________________
Martin Prikryl
Guestuser

Guest


Hi,

log file is attached. What I did:
* Login to the server
* Switch to the directory /ecc/hsb/H54626891/
* Tried to download the file U828896.bff twice (both times nothing happened)

The connection was made through a proxy server, but the problem also occurs without proxy, so this doesn't seem to be the cause.

If you want you can also reproduce the problem yourself, the server allows anonymous logins. The directory name H54626891 keeps on changing, but you can pick another random directory.

Thanks.
nodownload.log (18.31 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Thanks for the log. I've realized that it's actually an expected behavior. WinSCP does not follow symlinks to directories when downloading. With FTP protocol symlinks are not resolved and all are treated as pointing to a directory. So you cannot actually download a file via symlink with FTP protocol.

I have added request for improving this to a tracker:
https://winscp.net/tracker/show_bug.cgi?id=1207
Guestuser

Guest


Ok, thank you.
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