[lftp] Overwriting with 'put -c' command

2013-11-15 Thread Arnaud RĂ©billout
Hello, when doing some tests with lftp, I found a strange behavior with the 'put -c' command. If I want to copy a file to a FTP server, and the file already exists, it seems that the file is copied only if the source is bigger than the destination. Is it the expected behavior ? Here is my

Re: [lftp] Overwriting with 'put -c' command

2013-11-15 Thread Alexander V. Lukyanov
On Fri, Nov 15, 2013 at 10:47:51AM +0100, Arnaud RĂ©billout wrote: when doing some tests with lftp, I found a strange behavior with the 'put -c' command. If I want to copy a file to a FTP server, and the file already exists, it seems that the file is copied only if the source is bigger than

Re: [lftp] Recursive directory list without ls -R option?

2013-11-15 Thread Alexander V. Lukyanov
On Thu, Nov 14, 2013 at 12:47:25PM +, Marijn Kampf wrote: I'm trying to get a recursive list of all files uploaded to an SFTP server including file size and date. Unfortunately the server doesn't support the ls -R option. I can get an overview of file size with: du -ba Is there a way