nwgat / lftp

A collection of lftp bash scripts
GNU General Public License v2.0
9 stars 4 forks source link

typing error #3

Open langioletto opened 3 years ago

langioletto commented 3 years ago

https://nwgat.ninja/compiling-lftp-on-windows/

Incorrect and missing cyg-get bison autoconf gcc-core gcc+g++ make pkg-config libreadline7 libreadline-devel libexpat1 openssl openssl-dev

Correct choco install wget cyg-get bison autoconf gcc-core gcc-g++ make pkg-config libreadline7 libreadline-devel libexpat1 openssl openssl-dev --source=cygwin

diff error: gcc+g++ > gcc-g++ Missing wget

Not correct tar zxvf lftp-4.6.4.tar.gz && lftp-4.6.4

Correct tar zxvf lftp-4.6.4.tar.gz && cd lftp-4.6.4

langioletto commented 3 years ago

To compile the latest version

choco install cygwin cyg-get

Open from cmd: cygwin

choco install cyg-get wget zlib-devel libgnutls-devel libncurses-devel bison autoconf gcc-core gcc-g++ make pkg-config libreadline7 libreadline-devel libexpat1 openssl openssl-dev --source=cygwin

wget http://lftp.yar.ru/ftp/lftp-4.9.2.tar.gz tar zxvf lftp-4.9.2.tar.gz && cd lftp-4.9.2

./configure

nwgat commented 3 years ago

i will look into it didnt know choco could install cygwin packages?

langioletto commented 3 years ago

didnt know choco could install cygwin packages?

Yes, it is possible

langioletto commented 3 years ago

LFTP Version 4.9.2 - openssh-8.4p1.zip

For Windows

nwgat commented 3 years ago

ive updated it now https://nwgat.ninja/compiling-lftp-on-windows/

langioletto commented 3 years ago

run cygwin64 from start

"cygwin64" it is not recognized as an internal or external command, an executable program or batch file.

:)

C:\Users\Admin>cygwin

Admin@PC-000 ~ $

langioletto commented 3 years ago

ive updated it now https://nwgat.ninja/compiling-lftp-on-windows/

Thanks for the credits

nwgat commented 3 years ago

did a revision

langioletto commented 3 years ago

Ok, I try to compile with openssl

Because with gnutls the transfer seems slower to me

nwgat commented 3 years ago

did you try parallel and segmented downloading?

langioletto commented 3 years ago

No

nwgat commented 3 years ago

lftp -e 'pget -n 5 -c https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-desktop-amd64.iso'

image

langioletto commented 3 years ago

Ok, i try now

langioletto commented 3 years ago

But I use it to transfer my files to remote nas

connect sftp://root:@remotenas mirror -c -e -p -R /cygdrive/D/ '/media/Dati/Backup'

nwgat commented 3 years ago

https://nwgat.ninja/lftp-batch-script-with-ssh-keys/

langioletto commented 3 years ago

Ah. ok , I had seen your scripts, I used them as a basis, now I try why I omitted "--use-pget-n=2"