Cannot download linked files over FTP

Advertisement

Guestuser
Guest

Cannot download linked files over FTP

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.

Reply with quote

Advertisement

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

Re: Cannot download linked files over FTP

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.

Reply with quote

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
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/1207

Reply with quote

Advertisement

You can post new topics in this forum