Hi, I've seen the following on for two different SFTP servers. For this SFTP service (ProFTPD with mod_sftp) the find command doesn't seem to recognize the *.txt files: lftp [email protected]:~> dir drwx------ sftp_user/SFTP 4096 2012-04-05 09:32 . drwx------ sftp_user/SFTP 4096 2012-04-05 09:32 .. -rw-rw-r-- sftp_user/SFTP 3856 2012-04-05 09:32 tweety.txt -rw-rw-r-- sftp_user/SFTP 3856 2012-04-05 09:32 tweety2.txt -rw-rw-r-- sftp_user/SFTP 3856 2012-04-05 09:32 tweety3.txt lftp [email protected]:/> find *.txt ||exit 8; find: Access failed: No such file (/*.txt)
For this SFTP service (Synchrony Gateway), find works as expected: lftp [email protected]:~> dir -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety.txt -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety1.txt -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety2.txt lftp [email protected]:/> find *.txt ||exit 8; *.txt lftp [email protected]:/> dir -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety.txt -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety1.txt -rw-rw-rw- 9 sftp_user SFTP 3856 Mar 9 13:02 tweety2.txt lftp [email protected]:/> find *.csv ||exit 8; find: Access failed: No such file (/*.csv) Any idea why there is a different behavior for the find command? Regards, Tilo
_______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp
