Open langioletto opened 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
i will look into it didnt know choco could install cygwin packages?
didnt know choco could install cygwin packages?
Yes, it is possible
LFTP Version 4.9.2 - openssh-8.4p1.zip
For Windows
ive updated it now https://nwgat.ninja/compiling-lftp-on-windows/
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 ~ $
ive updated it now https://nwgat.ninja/compiling-lftp-on-windows/
Thanks for the credits
did a revision
Ok, I try to compile with openssl
Because with gnutls the transfer seems slower to me
did you try parallel and segmented downloading?
No
lftp -e 'pget -n 5 -c https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-desktop-amd64.iso'
Ok, i try now
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'
Ah. ok , I had seen your scripts, I used them as a basis, now I try why I omitted "--use-pget-n=2"
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