Hi, Thanks for the reply.. There is no such character in the filename... I was able to delete the same file from remote server with other SSH FTP client. LFTP client alone is not able to delete the file.
Please let me know if some setting(s) will help? Thanks, Naren. Dag Wieers <[EMAIL PROTECTED]> 2007/07/11 20:11 To [EMAIL PROTECTED] cc [email protected] Subject Re: SSH FTP Access failed: File not found error. On Wed, 11 Jul 2007, [EMAIL PROTECTED] wrote: > I face the following error when removing a file from remote SSH FTP > Server. > I can execute ls and get command and its working fine. > But "rm" fails to remove the file from remote server. > > lftp> cd myfolder > lftp> ls > -rw-rw-rw- 1 user group 18 Jun 27 01:59 Test.txt > lftp> rm Test.txt > ---- path on wire is `myfolder/Test.txt' > ---> sending a packet, length=18, type=13(REMOVE), id=1 > <--- got a packet, length=33, type=101(STATUS), id=1 > rm: Access failed: File not found (Test.txt) > > Please inform us if any fix is available for this type of error. > > P.S : rm works fine with local SSH FTP Server. My first impression is that this has something to do with the file itself. Does the filename contain non-printable characters on the server ? (maybe Unicode ?) That would make the file to appear as "Test.txt" when you do an ls, but causes a removal to fail because on disk it is something like "%Test.txt" where % is a non-printable character. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
