Can't download linux symbolic links

Here you can submit your bug reports for FTP Rush.

Can't download linux symbolic links

Postby mtmfish » Sat Dec 25, 2010 6:48 am

When download a symbolic links such as

lib.so -> lib.so.5

FTP Rush will CWD it and fails.

I found FileZilla would first try CWD, if fails then RETR it directly.

Could FTP Rush resolve it?
mtmfish
 
posts 7
 
joined Sat Dec 25, 2010 4:22 am

Re: Can't download linux symbolic links

Postby FTP » Sun Dec 26, 2010 3:05 am

Please paste your log
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am

Re: Can't download linux symbolic links

Postby mtmfish » Mon Dec 27, 2010 2:09 am

[1] Connecting to 192.168.1.101
[1] Connecting to 192.168.1.101:21
[1] 220 (vsFTPd 2.0.1)
[1] USER test
[1] 331 Please specify the password.
[1] PASS (hidden)
[1] 230 Login successful.
[1] SYST
[1] 215 UNIX Type: L8
[1] TYPE A
[1] 200 Switching to ASCII mode.
[1] REST 1
[1] 350 Restart position accepted (1).
[1] REST 0
[1] 350 Restart position accepted (0).
[1] FEAT
[1] 211-Features:
[1] EPRT
[1] EPSV
[1] MDTM
[1] PASV
[1] REST STREAM
[1] SIZE
[1] TVFS
[1] 211 End
[1] PWD
[1] 257 "/home/test"
[1] PASV
[1] 227 Entering Passive Mode (192.168.1.101,33,48)
[1] Opening data connection IP: 192.168.1.101 PORT: 8496
[1] LIST
[1] 150 Here comes the directory listing.
[1] 226 Directory send OK.
[1] List Complete: 342 bytes in 0.02 seconds (22.80KB/s)
[1] CWD /usr/lib/
[1] 250 Directory successfully changed.
[1] PWD
[1] 257 "/usr/lib"
[1] PASV
[1] 227 Entering Passive Mode (192.168.1.101,234,242)
[1] Opening data connection IP: 192.168.1.101 PORT: 60146
[1] LIST
[1] 150 Here comes the directory listing.
[1] 226 Directory send OK.
[1] List Complete: 1,498 bytes in 0.02 seconds (99.87KB/s)
[T] CWD /usr/lib/lib.so
[T] 550 Failed to change directory.
mtmfish
 
posts 7
 
joined Sat Dec 25, 2010 4:22 am

Re: Can't download linux symbolic links

Postby FTP » Mon Dec 27, 2010 3:15 pm

Hi,

Strange logs, what did you do before the last two lines? Change work directory?
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am

Re: Can't download linux symbolic links

Postby mtmfish » Tue Dec 28, 2010 6:54 am

Yes, after login, change work directory to /usr/lib, then get lib.so, it's a symbolic link to /usr/lib/lib.so.5.

The symbolic link was created by using ln -s command.
mtmfish
 
posts 7
 
joined Sat Dec 25, 2010 4:22 am

Re: Can't download linux symbolic links

Postby FTP » Tue Dec 28, 2010 10:41 am

But I think when you select a file to download, the ftp log will be "RETR xxxxx".
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am

Re: Can't download linux symbolic links

Postby mtmfish » Tue Dec 28, 2010 1:14 pm

Yes, I know that.

I mean, FTP Rush will treat a symbolic link file as a folder, so it will try to CWD, then fails.

Actually, most FTP client will do this, I tried FlashFXP and FileZilla, they have same behavior.

FlashFXP failed same as FTP Rush.

But FileZilla fails then RETR that symbolic file automatically. I like this behavior.

This a common issue I think you can reproduce it easily.

Thanks.
mtmfish
 
posts 7
 
joined Sat Dec 25, 2010 4:22 am

Re: Can't download linux symbolic links

Postby FTP » Wed Dec 29, 2010 8:09 am

But we created a symbolic link and tested it, no problem found, FTP Rush can download it correctly:
ln -s SourcePath DestPath
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am

Re: Can't download linux symbolic links

Postby mtmfish » Wed Dec 29, 2010 1:21 pm

Hmm.............

I used CentOS 5.5, but I think it would be no relationship with different linux editions.

Another, I found it's OK when downloading via SFTP(FTP via SSH), but not OK when downloading via FTP.

Any body else have same problem?
mtmfish
 
posts 7
 
joined Sat Dec 25, 2010 4:22 am

Re: Can't download linux symbolic links

Postby FTP » Thu Dec 30, 2010 1:23 pm

We used CentOS 5.1, how did you create the symbolic links?
FTP
Site Admin
 
posts 1226
 
joined Tue Sep 29, 2009 6:09 am

Next

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron