{Disarmed} [lftp] {Disarmed} Re: Move files to ftp

2014-12-17 Thread Alexander Lukyanov
Ok, I see the problem. I'll implement a solution. 17.12.2014 17:34 пользователь "Kai Stian Olstad" написал: > Hi, > > > > My challenge is that I have no control over when files appear in the > source folder, so running a rm -rf after a lftp most probably will delete > new files that have been ad

Re: [lftp] Move files to ftp

2014-12-17 Thread Kai Stian Olstad
Hi, My challenge is that I have no control over when files appear in the source folder, so running a rm -rf after a lftp most probably will delete new files that have been added to source. - Kai Stian On Wednesday 17. December 2014 12:05:18 Alexander Lukyanov wrote: > You can run rm -rf af

{Disarmed} [lftp] {Disarmed} Re: Move files to ftp

2014-12-17 Thread Alexander Lukyanov
You can run rm -rf after mirror to remove any remaining files. 23:37, сб, 13.12.2014, Kai Stian Olstad : > Hi, > > I'm trying to move files recursive to a ftp server. > Since mput doesn't support moving files recursive I'm using mirror instead. > > lftp -e 'mirror -c -p -R --Remove-source-files /