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?
Can't download linux symbolic links
-
- Site Admin
- Posts: 2086
- Joined: Tue Sep 29, 2009 6:09 am
Re: Can't download linux symbolic links
Please paste your log
-
- Posts: 7
- Joined: Sat Dec 25, 2010 4:22 am
Re: Can't download linux symbolic links
[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.
[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.
-
- Site Admin
- Posts: 2086
- Joined: Tue Sep 29, 2009 6:09 am
Re: Can't download linux symbolic links
Hi,
Strange logs, what did you do before the last two lines? Change work directory?
Strange logs, what did you do before the last two lines? Change work directory?
-
- Posts: 7
- Joined: Sat Dec 25, 2010 4:22 am
Re: Can't download linux symbolic links
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.
The symbolic link was created by using ln -s command.
-
- Site Admin
- Posts: 2086
- Joined: Tue Sep 29, 2009 6:09 am
Re: Can't download linux symbolic links
But I think when you select a file to download, the ftp log will be "RETR xxxxx".
-
- Posts: 7
- Joined: Sat Dec 25, 2010 4:22 am
Re: Can't download linux symbolic links
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.
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.
-
- Site Admin
- Posts: 2086
- Joined: Tue Sep 29, 2009 6:09 am
Re: Can't download linux symbolic links
But we created a symbolic link and tested it, no problem found, FTP Rush can download it correctly:
ln -s SourcePath DestPath
ln -s SourcePath DestPath
-
- Posts: 7
- Joined: Sat Dec 25, 2010 4:22 am
Re: Can't download linux symbolic links
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?
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?
-
- Site Admin
- Posts: 2086
- Joined: Tue Sep 29, 2009 6:09 am
Re: Can't download linux symbolic links
We used CentOS 5.1, how did you create the symbolic links?