Re: Status for incomplete files

akshay gupta <[email protected]> Fri, 19 Sep 2014 17:08:54 +0530
Newsgroups gmane.network.lftp.user,gmane.network.lftp.devel
Message-ID <CAB_qc73uzNASOUvA4un9aH0paXMhGpW6OZaCAiUs2AcEr71M2w@mail.gmail.com>
--===============4293471841542162791==
Content-Type: multipart/alternative; boundary=089e01493c54ecff520503698c1c

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

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.
>

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

<div dir=3D"ltr">Thanks a lot=C2=A0<font face=3D"arial, sans-serif"><span s=
tyle=3D"white-space:nowrap">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.</span></font></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Fri, Sep 19, 2014 at 4:58 PM, Alexan=
der Lukyanov <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><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:t=
emp-file-name. 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-fil=
e-name _tmp_*&quot; to achieve wanted behaviour.<br></div><div class=3D"gma=
il_extra"><br><div class=3D"gmail_quote"><div><div class=3D"h5">2014-09-19 =
11:11 GMT+04:00 akshay gupta <span dir=3D"ltr">&lt;<a href=3D"mailto:akshay=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</spa=
n>:<br></div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><d=
iv dir=3D"ltr">Hi=C2=A0<span style=3D"font-family:arial,sans-serif;font-siz=
e:13px">Alexander,</span><div><span style=3D"font-family:arial,sans-serif;f=
ont-size:13px"><br></span></div><div><font face=3D"arial, sans-serif">Thank=
s for the reply!=C2=A0</font></div><div><font face=3D"arial, sans-serif"><b=
r></font></div><div><font face=3D"arial, sans-serif">I tried using this and=
 it seems to works prefixing &quot;.in.&quot; to files getting=C2=A0transfe=
rred.=C2=A0</font></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, s=
ans-serif"><br></font></div><div><font face=3D"arial, sans-serif">Does it a=
lso have an additional setting to use custom flags for=C2=A0temporary files=
. Like if i want &quot;_tmp_&quot; prefixed 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"arial, sans-serif">~ Akshay=C2=A0</font>=
</div></font></span></div><div><div><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Fri, Sep 19, 2014 at 12:09 PM, Alexander V. Lukyanov =
<span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">lav=
@netis.ru</a>&gt;</span> wrote:<br><blockquote 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 class=3D"HOEnZb"><font color=3D"#888888"><br><=
br clear=3D"all"><br>-- <br><div dir=3D"ltr"><div></div>=C2=A0=C2=A0 Alexan=
der.<br></div>
</font></span></div>
</blockquote></div><br></div>

--089e01493c54ecff520503698c1c--

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

--===============4293471841542162791==--