Re: Status for incomplete files

Alexander Lukyanov <[email protected]> Fri, 19 Sep 2014 15:28:26 +0400
Newsgroups gmane.network.lftp.user,gmane.network.lftp.devel
Message-ID <CANnoEwqpetWcO3GaDK5byLi-ty-p=w4+cR5=J-oEszqZ77RQgQ@mail.gmail.com>
--===============5372505275469559956==
Content-Type: multipart/alternative; boundary=047d7b5d436e5750460503696688

--047d7b5d436e5750460503696688
Content-Type: text/plain; charset=UTF-8

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 <[email protected]>:

> 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 <[email protected]>
> 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
> [email protected]
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
>


-- 
   Alexander.

--047d7b5d436e5750460503696688
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Please try <a href=3D"http://lftp.yar.ru/ftp/devel/lftp-4.=
5.5.20140919.tar.gz">http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140919.tar.g=
z</a>, it introduces another setting xfer:temp-file-name. You can thus chan=
ge the temporary file name; an asterisk is replaced by the original file na=
me. So you would do &quot;set xfer:temp-file-name _tmp_*&quot; to achieve w=
anted behaviour.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">2014-09-19 11:11 GMT+04:00 akshay gupta <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">akshaygupta202@gm=
ail.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">=
Hi=C2=A0<span style=3D"font-family:arial,sans-serif;font-size:13px">Alexand=
er,</span><div><span style=3D"font-family:arial,sans-serif;font-size:13px">=
<br></span></div><div><font face=3D"arial, sans-serif">Thanks for the reply=
!=C2=A0</font></div><div><font face=3D"arial, sans-serif"><br></font></div>=
<div><font face=3D"arial, sans-serif">I tried using this and it seems to wo=
rks prefixing &quot;.in.&quot; to files getting=C2=A0transferred.=C2=A0</fo=
nt></div><div><font face=3D"arial, sans-serif"><br></font></div><div><font =
face=3D"arial, sans-serif">What is the expected release date for=C2=A0this =
development version?</font></div><div><font face=3D"arial, sans-serif"><br>=
</font></div><div><font face=3D"arial, sans-serif">Does it also have an add=
itional setting to use custom flags for=C2=A0temporary files. Like if i wan=
t &quot;_tmp_&quot; prefixed to=C2=A0temporary files.</font></div><span cla=
ss=3D"HOEnZb"><font color=3D"#888888"><div><font face=3D"arial, sans-serif"=
><br></font></div><div><font face=3D"arial, sans-serif">~ Akshay=C2=A0</fon=
t></div></font></span></div><div class=3D"HOEnZb"><div class=3D"h5"><div cl=
ass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Sep 19, 2014 at =
12:09 PM, Alexander V. Lukyanov <span dir=3D"ltr">&lt;<a href=3D"mailto:lav=
@netis.ru" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><span>On Fri, Sep 19, 2014 at 01:36:18AM +0530, aksh=
ay gupta wrote:<br>
&gt; I am looking for a way to know the file is still getting transferred a=
nd is<br>
&gt; incomplete. Some file downloaders=C2=A0 append some token such as _tmp=
 or<br>
&gt; something else to the file name until its getting transferred when the=
 file<br>
&gt; transfer completes its renamed to its original name. I know about pget=
<br>
</span>&gt; option which creates a *lftp-pget-status* file but I prefer mor=
e direct<br>
&gt; option.<br>
<br>
Please try development snapshot<br>
=C2=A0 =C2=A0<a href=3D"http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140918.ta=
r.gz" target=3D"_blank">http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140918.ta=
r.gz</a><br>
with xfer:use-temp-file set to &quot;yes&quot;.<br>
<br>
--<br>
=C2=A0 =C2=A0Alexander.<br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
lftp mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://univ.uniyar.ac.ru/mailman/listinfo/lftp" target=3D"_blank=
">http://univ.uniyar.ac.ru/mailman/listinfo/lftp</a><br>
<br></blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr"><d=
iv></div>=C2=A0=C2=A0 Alexander.<br></div>
</div>

--047d7b5d436e5750460503696688--

--===============5372505275469559956==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

--===============5372505275469559956==--