Re: [lftp] Mirror and ASCII transfer selection

2014-12-15 Thread Alexander V. Lukyanov
On Sat, Dec 13, 2014 at 11:15:40PM +0100, Franck Eyraud wrote: There is already a --ascii option to the mirror command (implies --ignore-size), which could be selectively applied to files matching a pattern. Wow, I have forgot about this option. In fact, I though afterwards the I could get

Re: [lftp] Mirror and ASCII transfer selection

2014-12-13 Thread Alexander Lukyanov
There is no such feature in lftp. I don't think it's feasible to do: ascii mode changes the file and the next mirror will consider the file changed and thus re-transfer it. 2014-12-12 14:52 GMT+04:00 Franck Eyraud franck+l...@nospam.yrnm.net: Hi lftp list, Just a quick question, because I

Re: [lftp] Mirror and ASCII transfer selection

2014-12-13 Thread Franck Eyraud
Thank you for your answer. I know about the size situation, but I don't care much if ascii files are untimely downloaded, in this case 99,99% are binary data, the rest is some descriptive files that are windows CR/LF formatted (in fact I'm anyway using mirror more because it is recursive than

[lftp] Mirror and ASCII transfer selection

2014-12-12 Thread Franck Eyraud
Hi lftp list, Just a quick question, because I didn't find in the man page : Is it possible to select the transfert type (binary/ascii) based of file name pattern (e.g. download ascii all *.txt files) when mirroring a ftp server ? I remember that I saw this options on some graphical client,