Op moederschip aarde schreef iemand die zich identificeerde als
Paul van der Vlis <
pa...@vandervlis.nl>:
>Hoi,
>
>Ik probeerde een website te downloaden via SFTP van een hostingserver,
>maar dit ging reuze traag en na een random tijd breekt steeds de
>verbinding af
[..]
>Ik probeerde dit via de commandline:
>sftp -r username@host:/ ./
[..]
>Ik heb daar alleen SFTP toegang, geen SSH.
>
>Uiteindelijk heb ik het met FileZilla gedaan en dat lukte wel, alleen
>bleek een map niet leesbaar, dit bleek een symlink. Wellicht dat het
>daardoor steeds misging op de commandline. FileZilla is echter wel
>lastig, want dan moet ik eerst downloaden en dan weer uploaden.
Dat begrijp ik niet. Waarnaartoe uploaden?
>Weten jullie of er een manier is om SFTP te zeggen: "ga gewoon door met
>de volgende bestanden als iets niet leesbaar is"?
>
>Of is er wellicht een ander CLI programma om via SFTP te downloaden
>waarbij dit beter geregeld is?
Lftp heeft een 'mirror'-functie.
"
LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job
control and uses the readline library for input. It has bookmarks, built-in
mirroring, and can transfer several files in parallel. It is designed with
reliability in mind.
"
Uit de manpage: "lftp can handle several file access methods - FTP, FTPS, HTTP,
HTTPS, HFTP, FISH, SFTP and file (HTTPS and FTPS are only available when lftp
is compiled with GNU TLS or OpenSSL library). You can specify the method to
use in `open URL' command, e.g. `open
http://www.us.kernel.org/pub/linux'. HFTP
is ftp-over-http-proxy protocol. It can be used automatically instead of FTP if
ftp:proxy is set to `
http://proxy[:port]'. Fish is a protocol working over an
ssh connection to a unix account. SFtp is a protocol implemented in SSH2 as
SFTP subsystem."
Ik gebruik lftp sinds vorige maand omdat ik sftp voor een bepaalde site niet
kon gebruiken en lftp was op dat moment gemakkelijker te hanteren.
Adri