Questions tagged [lftp]

lftp is a sophisticated terminal-based file transfer program with support for FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols. BitTorrent is also supported.

lftp is a sophisticated terminal-based file retrieval program with support for FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols.

lftp supports background jobs, mirroring sites, and using multiple connections to speed up downloading of large files. If the program is exited while a file transfer is in progress it will automatically put itself into the background to complete any remaining jobs.

241 questions
0
votes
1 answer

lftp install unsuccessful

I try to install lftp on our CentOS 6 server. First I tried this: yum install lftp But I got: "No package lftp available" Second I downloaded rpm and tried to install it. rpm -Uvh /root/src2/lftp-4.3.8-1.el6.rfx.x86_64.rpm I got: "error: Failed…
erno666
  • 192
  • 1
  • 1
  • 10
0
votes
1 answer

Example SFTP batch upload script for AS400 server to upload to a Unix SFTP server

Suppose I have a file called helloworld.txt on an AS400 and I want to write a script to automate the daily upload of the source file helloworld.txt on an AS400 server to upload to a Unix SFTP server, say sftp://exampleunixsftp.com? Does someone have…
user1207994
  • 30
  • 1
  • 7
0
votes
1 answer

Cross Compiling lftp-4.3.5 package for ARM based board

I am trying to cross compile lftp-4.3.5 for my arm based board. I executed the configure file as: "./configure --host=arm-montavista-linux CXX=arm-montavista-linux-gnueabi-g++ CC=arm-montavista-linux-gnueabi-gcc --with-openssl=/abcd/xxx/yyy/ssl…
RPS
  • 141
  • 3
  • 12
0
votes
1 answer

Making lftp write to stdout without having to close the process first

I'm trying to wrap the lftp program in a node.js application, using child_process. The problem is that lftp doesn't write its output to stdout, so I cannot catch its output in node.js. Sample code: var proc = require('child_process').spawn('lftp',…
Victor Stanciu
  • 12,037
  • 3
  • 26
  • 34
-1
votes
1 answer

Bash script deletes files older than N days using lftp - but does not remove recursive directories and files

I have finally got this script working and it logs on to my remote FTP and removes files in a folder that are older than N days. I cannot however get it to remove recursive directories also. What can be changed or added to make this script remove…
user2503303
  • 162
  • 1
  • 2
  • 10
-1
votes
1 answer

lftp bash script end of file unexpected

I'm trying to put the result in a variable but it didn't work Syntax error: end of file unexpected (expecting ")") #!/bin/bash test="$(lftp -u ns454575.ip-154-145-259.eu,NGFYv85MTI ftpback-rbx2-588.mybackup.ovh.net << EOF cd…
xXxlazharxXx
  • 433
  • 4
  • 8
-1
votes
1 answer

Converting lftp command to curl

I have a very old shell script running on a production machine i just got access to from my customer and my job is to convert it to a curl equivalent. The script is pretty simple and all it does is downloading a file from remote FTP to a local…
mbajur
  • 4,406
  • 5
  • 49
  • 79
-1
votes
2 answers

Lftp 550 error when trying to mirror a folder. FileZilla is ok

I made this script to download a folder in a remote FTP with implicit SSL: open -d ftps://USER:"PASS"@ftp.xxx.tld:990 mirror --verbose --continue /remote/folder $HOME/destination/folder; bye It connects, the features are: <--- 220-Microsoft FTP…
Gabriel
  • 5,453
  • 14
  • 63
  • 92
-1
votes
1 answer

FTP issue from Linux to windows server through shell script

We are having an automated .ksh script transfer the files from Linux server to windows server The ftp commands used are: Cd /target/sieb //path in local Linux server ftp -inv $ftpserv user $FTPUSER $FTPPW cd /sieb/app mput sgt*.* This script…
-1
votes
1 answer

Python script doesn't handle lftp and sftp with call to utility

PORTION OF PYTHONG SCRIPT: try: print('Enter remote FTP user password:') self.sudo_call(['lftp','sftp://{}@{}'.format(username, address),'-e','"put','/home/rfts/.ssh/id_rsa.pub"'], user='rfts', …
-1
votes
1 answer

lftp pget 401 Unauthorized

Yo I'm trying to download a file from DigitalBlasphemy.com using lftp and pget on cygwin on windows. Now, the usual route involves logging in to the website via web browser (It asks for username and password). When I try to use lftp's pget command…
TheIronKnuckle
  • 7,224
  • 4
  • 33
  • 56
-1
votes
1 answer

One more Fatal error: gnutls_handshake: A TLS packet with unexpected length was received

All, After installing the new cert from Comodo in my MS2012 server, my FTPS connections from my RHEL6 server are failing with "gnutls_handshake" error. We moved from Verisign signed to Comodo. I went through the different "set" commands but still…
Srini Vasu
  • 21
  • 1
  • 2
  • 5
-1
votes
1 answer

Cygwin-LFTP transfer from Linux Permissions Errors

I have a Windows daily driver which I often need to transfer files to from a remote Linux file hoster. I use Cygwin and LFTP to accomplish this, and it gets the job done, with one annoying snag. On the remote server, all the files default to full…
Paul
  • 1
  • 1
-1
votes
1 answer

Getting "Unknown command" when using "lftp -e"

I'm working on a bash script to automate FTP sessions, so I can run the same commands on multiple servers automatically) lftp -u username,password ip_address -e **FILE_WITH_COMMANDS** So the problem is that I somehow can't use a file with -f…
Tewdyn
  • 687
  • 3
  • 16
-2
votes
1 answer

Download all files from a pure ftp server with a server limit

I need to download all files from a FTP server but the server has a lookup limitation on 10,000 which complicates things. I can't use wget -m ftp://username:password@server-adress since it will only download the first 10,000 files. I can use mget…
mr.bjerre
  • 2,384
  • 2
  • 24
  • 37
1 2 3
16
17