All Questions
21
questions
1
vote
1
answer
28
views
How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?
I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
0
votes
0
answers
41
views
How to stop backup being deleted as soon as it is completed?
Duplicity full backup via ftp completes, then is deleted, all with no user action.
There are 2 things I would like to know;
is there anything in the information below that explains this problem?
...
0
votes
0
answers
146
views
lftp: How to list transfer size before (mirror) operation?
I have an lftp job that is going to transfer a large amount of data (30GB) to a slow remote FTP server. For various reasons, it won't work in one shot (which probably will take days anyway) but has ...
1
vote
1
answer
952
views
How to run concurrent (parallel) downloads with lftp?
lftp supposedly supports downloading mutliple files concurrently using get -P:
From the NEWS file:
Version 4.8.0 - 2017-07-10
...
* get/mget/put/mput: add -P option for parallel transfers and long ...
2
votes
1
answer
857
views
lftp how to upload everything new inside a folder but not the folder itself
I have this script in the a Pipeline:
lftp -c
"
set ftp:ssl-force true;
set ssl:verify-certificate false;
open -u $FTP_USER,$FTP_PASS $FTP_HOST;
cd remote-folder;
mirror -R -e -v -n ./...
1
vote
1
answer
1k
views
lftp unable to connect to ftp site, but using filezilla can connect successfully
I can successfully connect to ftp server using filezilla with SFTP protocol.
But when I try to connect using lftp, and send ls command for listing remote folder, it just keeps on showing status ...
1
vote
0
answers
1k
views
lftp hangs up on "connecting" when tried to use ACTIVE mode
I need to use lftp in active mode (due to some limitations on the server side). So I have set up the following ~/.lftprc config-file:
debug
set ssl:verify-certificate no
set ftp:port-ipv4 148.X.X.86
...
0
votes
1
answer
904
views
put command work with interactive "ftp", but not with "lftp"
I want to send a file to an FTP server (which is out of my control), and when using the interactive Linux command ftp, this works fine:
[bf@localhost sudap]$ ftp ftp.example.net
Connected to ftp....
1
vote
1
answer
310
views
Can't delete a hidden file on a linux server
I've a backups linux server where I upload my backups via lftp. I don't have any other way to access this server. For some reason I can't delete a hidden file.
$ls -la
drwxr-xr-x 2 100 ...
0
votes
1
answer
971
views
A way to stop lftp from issuing "CWD /" when transferring a file
Given an lftp command similar to the following:
lftp -vv -d -c set ssl:ca-file /path/to/cert/ftps_cron-bundle.crt; set ssl:check-hostname no; set ftp:ssl-protect-data true; set sftp:connect-program "...
4
votes
3
answers
7k
views
trust server certificate with lftp
When connecting to a server with lftp, I have the following issue:
Certificate verification: Not trusted: no issuer was found (AA:AA:AA:[...]:AA:AA)
Which indicates at least that the cert ...
3
votes
3
answers
2k
views
Does LFTP support keepalive for FTP/SFTP?
In the documentation it's not clear whether lftp support keepalive for FTP and SFTP protocols. Does someone know the answer?
3
votes
0
answers
821
views
lftp mirror -I and mirror -i don't work
I am using the following command lines to mirror a remote server to my local directory:
$ lftp -d -c 'open -e "mirror -i ^ABC . mirrordir/" http://ftp.abc.com/dir1/dir2'
$ lftp -d -c 'open -e "...
0
votes
1
answer
235
views
Received time of file in Linux
I'm sending a file from one server to another via lftp.
Suppose S1 and S2 is two server.
A file file1 is created at S1 at Mar 27 19:41. ls -ltrh shows it.
I sent the file to S2 at Mar 28 20:00 ...
2
votes
1
answer
1k
views
Add time offset for mirroring via lftp
I am working on a CI runner in GitLab which is supposed to transfer changed files via FTP to a development environment.
lftp seemed to be a good solution for doing so as it's easy to use and not ...