1

I am connecting to a proftd server as client and try to list files. I use ls command with two different parameters:

  1. ls filename

    ftp> ls test.txt  
    229 Entering Extended Passive Mode (|||41257|)  
    150 Opening ASCII mode data connection for file list  
    -rw-r-----   1 myftpuser (?)          9939 Jul 13 09:38 test.txt  
    226 Transfer complete.  
    ftp> 
    
  2. ls ./filename

    ftp> ls ./test.txt  
    229 Entering Extended Passive Mode (|||41257|)  
    150 Opening ASCII mode data connection for file list  
    226 Transfer complete.  
    ftp> 
    

I am in the right directory in both case.
Why do I get 2 different result?

  • Do you know which version of ProFTPD is being used? – Castaglia Jul 13 '16 at 16:08
  • ProFTPD Version 1.3.0 – guestor Jul 14 '16 at 7:46
  • ProFTPD 1.3.0 is very old; I suspect that this is a bug which has been fixed in newer releases. The current stable version is 1.3.5b. Could you upgrade your server, and try again? – Castaglia Jul 14 '16 at 16:32
  • I will discuss with the guy who is operation the server. Has somebody never version than 1.3.0 who could do a test for me? – guestor Jul 15 '16 at 6:52
  • I have tested with 1.3.4a but the same :( – guestor Jul 15 '16 at 7:40
0

Turns out this is a real bug in ProFTPD; see Bug#4259.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.