Re: Status for incomplete files

Alexander Lukyanov <[email protected]> Fri, 19 Sep 2014 15:41:31 +0400
Newsgroups gmane.network.lftp.user,gmane.network.lftp.devel
Message-ID <CANnoEwr-_bg0+acBOVRV=eji-7A2aNXpKdHH0SL+2Aws5q4fgw@mail.gmail.com>
--===============3947289434498311532==
Content-Type: multipart/alternative; boundary=f46d0444ec65155d5d05036995bb

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

It will be released in one or two weeks.

2014-09-19 15:38 GMT+04:00 akshay gupta <[email protected]>:

> Thanks a lot Alexander, when will these features come out in release
> version? I want to use these features in production, would be best if I
> could use a stable version.
>
> On Fri, Sep 19, 2014 at 4:58 PM, Alexander Lukyanov <[email protected]>
> wrote:
>
>> 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.
>>
>
>


-- 
   Alexander.

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

<div dir=3D"ltr">It will be released in one or two weeks.<br></div><div cla=
ss=3D"gmail_extra"><br><div class=3D"gmail_quote">2014-09-19 15:38 GMT+04:0=
0 akshay gupta <span dir=3D"ltr">&lt;<a href=3D"mailto:akshaygupta202@gmail=
.com" target=3D"_blank">[email protected]</a>&gt;</span>:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><div dir=3D"ltr">Thanks a lot=C2=A0<font face=3D"ar=
ial, sans-serif"><span style=3D"white-space:nowrap">Alexander, when will th=
ese features come out in release version? I want to use these features in p=
roduction, would be best if I could use a stable version.</span></font></di=
v><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br><d=
iv class=3D"gmail_quote">On Fri, Sep 19, 2014 at 4:58 PM, Alexander Lukyano=
v <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div dir=3D"ltr">Please try <a href=3D"http://lftp.yar.ru/ftp/devel/lftp=
-4.5.5.20140919.tar.gz" target=3D"_blank">http://lftp.yar.ru/ftp/devel/lftp=
-4.5.5.20140919.tar.gz</a>, it introduces another setting xfer:temp-file-na=
me. You can thus change the temporary file name; an asterisk is replaced by=
 the original file name. So you would do &quot;set xfer:temp-file-name _tmp=
_*&quot; to achieve wanted behaviour.<br></div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote"><div><div>2014-09-19 11:11 GMT+04:00 akshay g=
upta <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;</span>:<br></div></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div><div><div dir=3D"ltr">Hi=C2=A0<span style=3D=
"font-family:arial,sans-serif;font-size:13px">Alexander,</span><div><span s=
tyle=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><d=
iv><font face=3D"arial, sans-serif"><br></font></div><div><font face=3D"ari=
al, sans-serif">I tried using this and it seems to works prefixing &quot;.i=
n.&quot; to files getting=C2=A0transferred.=C2=A0</font></div><div><font fa=
ce=3D"arial, sans-serif"><br></font></div><div><font face=3D"arial, sans-se=
rif">What is the expected release date for=C2=A0this development version?</=
font></div><div><font face=3D"arial, sans-serif"><br></font></div><div><fon=
t face=3D"arial, sans-serif">Does it also have an additional setting to use=
 custom flags for=C2=A0temporary files. Like if i want &quot;_tmp_&quot; pr=
efixed to=C2=A0temporary files.</font></div><span><font color=3D"#888888"><=
div><font face=3D"arial, sans-serif"><br></font></div><div><font face=3D"ar=
ial, sans-serif">~ Akshay=C2=A0</font></div></font></span></div><div><div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Sep 19, 20=
14 at 12:09 PM, Alexander V. Lukyanov <span dir=3D"ltr">&lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><span>On Fri, Sep 19, 2014 at 01:36:18AM +0530=
, akshay 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></div></div>_______________________________________________=
<br>
lftp mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[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><span><font color=3D"#888888"><br><br clear=3D"all">=
<br>-- <br><div dir=3D"ltr"><div></div>=C2=A0=C2=A0 Alexander.<br></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D=
"ltr"><div></div>=C2=A0=C2=A0 Alexander.<br></div>
</div>

--f46d0444ec65155d5d05036995bb--

--===============3947289434498311532==
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

--===============3947289434498311532==--