Re: Mirror and ASCII transfer selection
"Alexander V. Lukyanov" <[email protected]> Mon, 15 Dec 2014 13:55:42 +0300
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
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 the desired behaviour by > running 2 successive mirror commands : > mirror --exclude my_pattern > mirror --include my_pattern --ascii You are correct - this solution should work fine. -- Alexander. > Le 13/12/2014 19:13, Alexander Lukyanov a écrit : > >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 <[email protected] > ><mailto:[email protected]>>: > > > > 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, so I > > was wondering for lftp. I checked also the variables, but I didn't > > find any. > > > > Thank you for your help, > > > > Franck > > > > _______________________________________________ > > lftp mailing list > > [email protected] <mailto:[email protected]> > > http://univ.uniyar.ac.ru/mailman/listinfo/lftp > > > > > > > >-- > > Alexander. > > _______________________________________________ > lftp mailing list > [email protected] > http://univ.uniyar.ac.ru/mailman/listinfo/lftp _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp