Please try http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140919.tar.gz, it introduces another setting xfer:temp-file-name. You can thus change the temporary file name; an asterisk is replaced by the original file name. So you would do "set xfer:temp-file-name _tmp_*" to achieve wanted behaviour.
2014-09-19 11:11 GMT+04:00 akshay gupta <akshaygupta...@gmail.com>: > Hi Alexander, > > Thanks for the reply! > > I tried using this and it seems to works prefixing ".in." to files > getting transferred. > > What is the expected release date for this development version? > > Does it also have an additional setting to use custom flags for temporary > files. Like if i want "_tmp_" prefixed to temporary files. > > ~ Akshay > > On Fri, Sep 19, 2014 at 12:09 PM, Alexander V. Lukyanov <l...@netis.ru> > wrote: > >> On Fri, Sep 19, 2014 at 01:36:18AM +0530, akshay gupta wrote: >> > I am looking for a way to know the file is still getting transferred >> and is >> > incomplete. Some file downloaders append some token such as _tmp or >> > something else to the file name until its getting transferred when the >> file >> > transfer completes its renamed to its original name. I know about pget >> > option which creates a *lftp-pget-status* file but I prefer more direct >> > option. >> >> Please try development snapshot >> http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140918.tar.gz >> with xfer:use-temp-file set to "yes". >> >> -- >> Alexander. >> > > > _______________________________________________ > lftp mailing list > l...@uniyar.ac.ru > http://univ.uniyar.ac.ru/mailman/listinfo/lftp > > -- Alexander.
_______________________________________________ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel