Discussion:
Any command line sftp client programs that can resume?
(too old to reply)
Ant
11 years ago
Permalink
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.
ein
11 years ago
Permalink
Post by Ant
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.
Robert Heller
11 years ago
Permalink
Post by ein
Post by Ant
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 / ***@deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
ein
11 years ago
Permalink
Post by Robert Heller
Post by ein
Post by Ant
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.
Richard Kettlewell
11 years ago
Permalink
Post by Ant
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/
Ant
11 years ago
Permalink
Post by Richard Kettlewell
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.
Richard Kettlewell
11 years ago
Permalink
Post by Ant
Post by Richard Kettlewell
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/
Ant
11 years ago
Permalink
Post by Richard Kettlewell
Post by Ant
Post by Richard Kettlewell
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.
Ant
11 years ago
Permalink
Post by Richard Kettlewell
Post by Ant
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
Post by Richard Kettlewell
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.
unruh
11 years ago
Permalink
Post by Ant
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.
Post by Ant
Thank you in advance. :)
Feranija
11 years ago
Permalink
Post by Ant
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.
Ant
11 years ago
Permalink
Post by Feranija
Post by Ant
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 <***@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.
Loading...