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

2013-11-15 Thread Arnaud Rébillout
On 11/15/2013 11:25 AM, Alexander V. Lukyanov wrote: On Fri, Nov 15, 2013 at 10:47:51AM +0100, Arnaud Rébillout wrote: Yes. put -c is meant for transfer resume. If target file is larger than the source file, then the transfer cannot be resumed. Thanks for the clarification, I didn't understand i

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

[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