Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2645 > unrolled thread

Any command line sftp client programs that can resume?

Started byAnt <ant@zimage.comANT>
First post2013-12-22 05:24 -0800
Last post2013-12-31 19:51 -0800
Articles 13 — 7 participants

Back to article view | Back to comp.os.linux.networking


Contents

  Any command line sftp client programs that can resume? Ant <ant@zimage.comANT> - 2013-12-22 05:24 -0800
    Re: Any command line sftp client programs that can resume? ein <ein@no.spam> - 2013-12-22 17:31 +0100
      Re: Any command line sftp client programs that can resume? Robert Heller <heller@deepsoft.com> - 2013-12-22 12:00 -0600
        Re: Any command line sftp client programs that can resume? ein <ein@no.spam> - 2013-12-22 21:18 +0100
    Re: Any command line sftp client programs that can resume? Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-22 17:38 +0000
      Re: Any command line sftp client programs that can resume? Ant <ant@zimage.comANT> - 2013-12-22 16:43 -0800
        Re: Any command line sftp client programs that can resume? Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-23 11:24 +0000
          Re: Any command line sftp client programs that can resume? Ant <ant@zimage.comANT> - 2013-12-23 08:31 -0800
      Re: Any command line sftp client programs that can resume? Ant <ant@zimage.comANT> - 2013-12-23 08:40 -0800
    Re: Any command line sftp client programs that can resume? unruh <unruh@invalid.ca> - 2013-12-23 00:36 +0000
    Re: Any command line sftp client programs that can resume? Feranija <feranija@mouse-potato.com> - 2013-12-23 11:33 +0000
      Re: Any command line sftp client programs that can resume? Ant <ant@zimage.comANT> - 2013-12-23 08:29 -0800
        Re: Any command line sftp client programs that can resume? Ian Zimmerman <itz@buug.org> - 2013-12-31 19:51 -0800

#2645 — Any command line sftp client programs that can resume?

FromAnt <ant@zimage.comANT>
Date2013-12-22 05:24 -0800
SubjectAny command line sftp client programs that can resume?
Message-ID<JuKdnXwYWvOXdSvPnZ2dnUVZ_jgAAAAA@earthlink.com>
Hello.

Is there a sftp command line program that can resume downloads and 
uploads in Linux? Sftp doesn't seem to do it even with full completed 
files to skip. I love ncftp and lftp, but they don't do security.

Thank you in advance. :)
-- 
Merry Christmas/Season's Greetings! :)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.

[toc] | [next] | [standalone]


#2647

Fromein <ein@no.spam>
Date2013-12-22 17:31 +0100
Message-ID<l97437$g5n$1@node1.news.atman.pl>
In reply to#2645
Ant wrote:
> Hello.
> 
> Is there a sftp command line program that can resume downloads and 
> uploads in Linux? Sftp doesn't seem to do it even with full completed 
> files to skip. I love ncftp and lftp, but they don't do security.

What security are you expecting? My Debian's lftp fully supports SFTP.

[toc] | [prev] | [next] | [standalone]


#2649

FromRobert Heller <heller@deepsoft.com>
Date2013-12-22 12:00 -0600
Message-ID<9uqdnQXNWo1MtSrPnZ2dnUVZ_sSdnZ2d@giganews.com>
In reply to#2647
At Sun, 22 Dec 2013 17:31:27 +0100 ein <ein@no.spam> wrote:

> 
> Ant wrote:
> > Hello.
> > 
> > Is there a sftp command line program that can resume downloads and 
> > uploads in Linux? Sftp doesn't seem to do it even with full completed 
> > files to skip. I love ncftp and lftp, but they don't do security.
> 
> What security are you expecting? My Debian's lftp fully supports SFTP.

*I* use rsync over ssh with the rsync --partial option (or -P) for this 
functionallity.


> 
>                    

-- 
Robert Heller             -- 978-544-6933 / heller@deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                                                              

[toc] | [prev] | [next] | [standalone]


#2650

Fromein <ein@no.spam>
Date2013-12-22 21:18 +0100
Message-ID<l97hc1$u3q$1@node1.news.atman.pl>
In reply to#2649
Robert Heller wrote:
> At Sun, 22 Dec 2013 17:31:27 +0100 ein <ein@no.spam> wrote:
> 
>>
>> Ant wrote:
>>> Hello.
>>>
>>> Is there a sftp command line program that can resume downloads and 
>>> uploads in Linux? Sftp doesn't seem to do it even with full completed 
>>> files to skip. I love ncftp and lftp, but they don't do security.
>>
>> What security are you expecting? My Debian's lftp fully supports SFTP.
> 
> *I* use rsync over ssh with the rsync --partial option (or -P) for this 
> functionallity.

My experience "shows" that rsync over ssh is good solution too, but in
case syncing files across unstable and slow WAN connection(s) there are
sometimes problems with it, I didn't investigate reasons, I just kill
rsync process and try again day later - works fine for me for backup
purposes of big directory structures which contain hundreds of GiB,
millions of files/directories and very deep/long directory structure.

For extreme problematic connections (S)FTP/(S) works a way better for me.

[toc] | [prev] | [next] | [standalone]


#2648

FromRichard Kettlewell <rjk@greenend.org.uk>
Date2013-12-22 17:38 +0000
Message-ID<wwvhaa0ss4f.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid>
In reply to#2645
Ant <ant@zimage.comANT> writes:
> Is there a sftp command line program that can resume downloads and
> uploads in Linux? Sftp doesn't seem to do it even with full completed
> files to skip. I love ncftp and lftp, but they don't do security.

Try psftp’s reget command.

http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter6.html#psftp-cmd-regetput

-- 
http://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#2652

FromAnt <ant@zimage.comANT>
Date2013-12-22 16:43 -0800
Message-ID<XJ6dnSHiHe_TGirPnZ2dnUVZ_sCdnZ2d@earthlink.com>
In reply to#2648
On 12/22/2013 9:38 AM PT, Richard Kettlewell typed:

> Try psftp’s reget command.
>
> http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter6.html#psftp-cmd-regetput

PuTTY in Linux?
-- 
Merry Christmas/Season's Greetings! :)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.

[toc] | [prev] | [next] | [standalone]


#2653

FromRichard Kettlewell <rjk@greenend.org.uk>
Date2013-12-23 11:24 +0000
Message-ID<wwv8uvbstca.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid>
In reply to#2652
Ant <ant@zimage.comANT> writes:
> Richard Kettlewell typed:

>> Try psftp’s reget command.
>>
>> http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter6.html#psftp-cmd-regetput
>
> PuTTY in Linux?

Yes.

 “PuTTY is a free implementation of Telnet and SSH for Windows and Unix
platforms”.

-- 
http://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#2656

FromAnt <ant@zimage.comANT>
Date2013-12-23 08:31 -0800
Message-ID<J_GdndU8Ad3a-CXPnZ2dnUVZ_uoAAAAA@earthlink.com>
In reply to#2653
On 12/23/2013 3:24 AM PT, Richard Kettlewell typed:

>>> Try psftp’s reget command.
>>>
>>> http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter6.html#psftp-cmd-regetput
>>
>> PuTTY in Linux?
>
> Yes.
>
>   “PuTTY is a free implementation of Telnet and SSH for Windows and Unix
> platforms”.

Interesting. I didn't know it ported to UNIX. Nice. I use it in Windows. 
Now, if it could add Zmodem file transfer features like SecureCRT. ;)
-- 
Merry Christmas/Season's Greetings! :)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.

[toc] | [prev] | [next] | [standalone]


#2657

FromAnt <ant@zimage.comANT>
Date2013-12-23 08:40 -0800
Message-ID<ALOdndqK0twH-iXPnZ2dnUVZ_sWdnZ2d@earthlink.com>
In reply to#2648
On 12/22/2013 9:38 AM PT, Richard Kettlewell typed:

>> Is there a sftp command line program that can resume downloads and
>> uploads in Linux? Sftp doesn't seem to do it even with full completed
>> files to skip. I love ncftp and lftp, but they don't do security.
>
> Try psftp’s reget command.
> http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter6.html#psftp-cmd-regetput

Thanks. Hmm, PuTTY's psftp is not good as ncftp and others:
1. Slower.
2. (M)get can't autodetect to resume downloads or not.
3. Autotab completes do not work (adds tabs/spaces).
4. No original file dates and times.
5. Reget doesn't seem to like downloading more than one files like this 
example:
 > reget *
/home/test/downloads*: open for read: no such file or directory

Maybe I missed something from my quick usages?
-- 
Merry Christmas/Season's Greetings! :)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.

[toc] | [prev] | [next] | [standalone]


#2651

Fromunruh <unruh@invalid.ca>
Date2013-12-23 00:36 +0000
Message-ID<l980im$g08$1@dont-email.me>
In reply to#2645
On 2013-12-22, Ant <ant@zimage.comANT> wrote:
> Hello.
>
> Is there a sftp command line program that can resume downloads and 
> uploads in Linux? Sftp doesn't seem to do it even with full completed 
> files to skip. I love ncftp and lftp, but they don't do security.

rsync ? Much better than sftp. Also depends on what you want to
download. If it is from a public server, why in the world do you want
security? If not, get the other side to install rsync.

>
> Thank you in advance. :)

[toc] | [prev] | [next] | [standalone]


#2654

FromFeranija <feranija@mouse-potato.com>
Date2013-12-23 11:33 +0000
Message-ID<slrnlbfaa8.673.feranija@moose.shawcable.net>
In reply to#2645
On 2013-12-22, Ant <ant@zimage.comANT> wrote:
> Hello.
>
> Is there a sftp command line program that can resume downloads and 
> uploads in Linux? Sftp doesn't seem to do it even with full completed 
> files to skip. I love ncftp and lftp, but they don't do security.

Recompile your lftp with 'configure --with-openssl' and read about
options ftp:ssl in man lftp.


[toc] | [prev] | [next] | [standalone]


#2655

FromAnt <ant@zimage.comANT>
Date2013-12-23 08:29 -0800
Message-ID<J_Gdndo8Ad1K-SXPnZ2dnUVZ_uqdnZ2d@earthlink.com>
In reply to#2654
On 12/23/2013 3:33 AM PT, Feranija typed:

>> Is there a sftp command line program that can resume downloads and
>> uploads in Linux? Sftp doesn't seem to do it even with full completed
>> files to skip. I love ncftp and lftp, but they don't do security.
>
> Recompile your lftp with 'configure --with-openssl' and read about
> options ftp:ssl in man lftp.

I have no idea if my updated 64-bit Debian stable's provided lftp 
package has it or not, but I tried:

$ lftp ftp:ssl-protect-data <a remote FTP server's address>
lftp: ssl-protect-data: no such tcp service

Am I doing this wrong as a newbie? FYI:

$ lftp -v
LFTP | Version 4.3.6 | Copyright (c) 1996-2012 Alexander V. Lukyanov

LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LFTP.  If not, see <http://www.gnu.org/licenses/>.

Send bug reports and questions to the mailing list <lftp@uniyar.ac.ru>.

Libraries used: Readline 6.2, GnuTLS 2.12.20, zlib 1.2.7
-- 
Merry Christmas/Season's Greetings! :)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.

[toc] | [prev] | [next] | [standalone]


#2681

FromIan Zimmerman <itz@buug.org>
Date2013-12-31 19:51 -0800
Message-ID<20131231195100.216706a1.itz@buug.org>
In reply to#2655
On Mon, 23 Dec 2013 08:29:03 -0800
Ant <ant@zimage.comANT> wrote:

> Libraries used: Readline 6.2, GnuTLS 2.12.20, zlib 1.2.7

Isn't GnuTLS supposed to replace openssl bug-by-bug? :-)

-- 
Please *no* private copies of mailing list or newsgroup messages.

gpg public key: 2048R/984A8AE4
fingerprint: 7953 ADA1 0E8E AB57 FB79  FFD2 360A 88B2 984A 8AE4
Funny pic: http://bit.ly/ZNE2MX

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web