Re: Question about using lftp to connect to connect to ftps://ftp.box.com via http proxy
John Trammell <[email protected]> Sun, 21 Oct 2018 22:19:33 -0500
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <CAF0y=u8Yt7jR9Y-pyKnj3wZuoh9S8rdsaRYo+AaXF1Vvtr0ZSw@mail.gmail.com> |
--===============3142485689146998609== Content-Type: multipart/alternative; boundary="0000000000008bc2fa0578c8b9ad" --0000000000008bc2fa0578c8b9ad Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the suggestions Alexander. On Sun, Oct 21, 2018 at 11:06 AM Alexander Lukyanov <[email protected]> wrote: > I mean gnutls. > > =D0=B2=D1=81, 21 =D0=BE=D0=BA=D1=82. 2018, 19:04 Alexander Lukyanov <lavv= [email protected]>: > >> I think it is related to gnarls or its settings. Try to compile with >> openssl. >> >> =D1=81=D1=80, 29 =D0=B0=D0=B2=D0=B3. 2018, 5:45 John Trammell <tram0004@= umn.edu>: >> >>> Good afternoon all, >>> >>> As the subject line implies, I'm trying to migrate some files to box.co= m. >>> There are not a lot of options. DAV is one option; it works but is >>> deprecated and slow. I can get FTPS to work via curl; command line opti= ons >>> look like this: >>> >>> curl --user "$BOX_USERNAME:$BOX_PASSWORD" --tlsv1 \ >>> >>> --disable-epsv --show-error --verbose --proxytunnel \ >>> >>> -x $HTTPS_PROXY ftps://ftp.box.com >>>> >>> >>> This is much more performant (several orders of magnitude faster than >>> DAV), but does not apparently allow any recursion, so I can't synch a >>> directory, just a file. >>> >>> So here comes my lftp question: I'm trying to duplicate the success I'v= e >>> had with curl, trying to store one small file. I'm able to connect via >>> lftp, but get a gnutls_handhake error: >>> >>> ---> STOR smallfile.dat >>>> <--+ HTTP/1.1 200 OK >>>> <--+ Connection: Keep-Alive >>>> <--+ >>>> <--- 150 File status okay; about to open data connection. >>>> **** gnutls_handshake: The TLS connection was non-properly terminated. >>>> ---- Closing data socket >>>> ---- Closing control socket >>> >>> >>> When I search for this error I see hits pertaining to older versions of >>> lftp <https://forum.filezilla-project.org/viewtopic.php?t=3D40051>, but= I >>> just built lftp today, running v4.8.4: >>> >>> LFTP | Version 4.8.4 | Copyright (c) 1996-2017 Alexander V. Lukyanov >>> >>> ... >>> >>> Libraries used: Expat 2.1.0, GnuTLS 3.3.26, Readline 6.2, zlib 1.2.7 >>> >>> >>> Any suggestions? >>> >>> Thanks in advance, >>> John >>> _______________________________________________ >>> lftp mailing list >>> [email protected] >>> http://univ.uniyar.ac.ru/mailman/listinfo/lftp >>> >> --=20 John Trammell *(pronouns: he/him/his)* OIT-LPT Team Lead [email protected] | 612-625-9302 --0000000000008bc2fa0578c8b9ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks for the suggestions Alexander.</div><br><div class= =3D"gmail_quote"><div dir=3D"ltr">On Sun, Oct 21, 2018 at 11:06 AM Alexande= r Lukyanov <<a href=3D"mailto:[email protected]">[email protected]</a>>= wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex">I mean gnutls.=C2=A0<br><br= ><div class=3D"gmail_quote"><div dir=3D"ltr">=D0=B2=D1=81, 21 =D0=BE=D0=BA= =D1=82. 2018, 19:04 Alexander Lukyanov <<a href=3D"mailto:[email protected]= om" target=3D"_blank">[email protected]</a>>:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex">I think it is related to gnarls or its settings. Try to compi= le with openssl.<br><br><div class=3D"gmail_quote"><div dir=3D"ltr">=D1=81= =D1=80, 29 =D0=B0=D0=B2=D0=B3. 2018, 5:45 John Trammell <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>>:<br></div><= /div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"= margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"= ltr">Good afternoon all,<br clear=3D"all"><div><br></div><div>As the subjec= t line implies, I'm trying to migrate some files to <a href=3D"http://b= ox.com" target=3D"_blank">box.com</a>. There are not a lot of options. DAV = is one option; it works but is deprecated and slow. I can get FTPS to work = via curl; command line options look like this:</div><div><br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px= solid rgb(204,204,204);padding-left:1ex"><font face=3D"monospace, monospac= e">curl --user "$BOX_USERNAME:$BOX_PASSWORD" --tlsv1 \</font></bl= ockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style=3D"f= ont-family:monospace,monospace">--disable-epsv=C2=A0</span><span style=3D"f= ont-family:monospace,monospace">--show-error --verbose --proxytunnel \</spa= n></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p= x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span styl= e=3D"font-family:monospace,monospace">-x $HTTPS_PROXY ftps://<a href=3D"htt= p://ftp.box.com" target=3D"_blank">ftp.box.com</a></span><br></blockquote><= div><br></div><div>This is much more performant (several orders of magnitud= e faster than DAV), but does not apparently allow any recursion, so I can&#= 39;t synch a directory, just a file.<br></div><div><br></div><div>So here c= omes my lftp question: I'm trying to duplicate the success I've had= with curl, trying to store one small file. I'm able to connect via lft= p, but get a gnutls_handhake error:</div><div><br></div><div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex"><font face=3D"monospace, monospace">---= > STOR smallfile.dat<br><--+ HTTP/1.1 200 OK<br><--+ Connection: K= eep-Alive<br><--+<br><--- 150 File status okay; about to open data co= nnection.<br>**** gnutls_handshake: The TLS connection was non-properly ter= minated.<br>---- Closing data socket<br>---- Closing control socket</font><= /blockquote></div><div><br></div><div>When I search for this error I see <a= href=3D"https://forum.filezilla-project.org/viewtopic.php?t=3D40051" targe= t=3D"_blank">hits pertaining to older versions of lftp</a>, but I just buil= t lftp today, running v4.8.4:</div><div><br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">LFTP | Version 4.8.4 | Copyright (c) 1996-2017 Ale= xander V. Lukyanov</blockquote><blockquote class=3D"gmail_quote" style=3D"m= argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left= :1ex">...=C2=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e= x">Libraries used: Expat 2.1.0, GnuTLS 3.3.26, Readline 6.2, zlib 1.2.7</bl= ockquote><div><br></div><div>Any suggestions?</div><div><br></div>Thanks in= advance,<div>John</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" rel=3D"noreferre= r" target=3D"_blank">http://univ.uniyar.ac.ru/mailman/listinfo/lftp</a><br> </blockquote></div> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"l= tr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div><div = dir=3D"ltr">John Trammell <i>(pronouns: he/him/his)</i><br><span>OIT-LPT Te= am Lead<br></span><a href=3D"mailto:[email protected]" target=3D"_blank">tra= [email protected]</a> | <a href=3D"tel:612-625-9302" style=3D"font-size:12.8px"= target=3D"_blank">612-625-9302</a></div></div></div></div></div></div></di= v></div></div> --0000000000008bc2fa0578c8b9ad-- --===============3142485689146998609== 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 --===============3142485689146998609==--