lftp is a command-line FTP client for UNIX and Unix-like systems.
3
votes
2answers
2k views
How to avoid lftp Certificate verification error?
I'm trying to get my Pelican blog working. It uses lftp to transfer the actual blog to ones server, but I always get an error:
mirror: Fatal error: Certificate verification: subjectAltName does not ...
2
votes
3answers
7k views
lftp: how to copy file on remote server
How to copy file on remote server using lftp?
Moving files is as easy as using mv command, but is there any command equivalent to cp?
2
votes
1answer
2k views
What is the syntax of lftp's mirror -x (exclude) option?
I want to mirror a directory using lftp but I want to exclude certain subdirectories.
I tried
mirror -R -e -x ^\.svn$ /documents/ /test
and
mirror -R -e -x /^\.svn$/ /documents/ /test
but neither ...
2
votes
2answers
883 views
vsftp hangs at “150 Here comes the directory listing.”
In a vsftpd server enviroment, shared various directories from nfs mountpoints, I can log in without problem, but when I send the first "ls", the vsftp give me the directory listing:
lftp ...
1
vote
2answers
2k views
Upload a directory recursively to an FTP server
I am writing a Linux shell script to copy a local directory to a remote server (removing any existing files).
Local server: ftp and lftp commands are available, no ncftp or any graphical tools.
...
1
vote
3answers
735 views
uploading to amazon s3 using lftp
Is it possible to upload files from an ftp to an amazon s3 bucket using lftp?
I tend to run this from an ec2 instance.
1
vote
2answers
181 views
shell script in crontab, not all output being logged
I've got a simple shell script that runs a few LFTP commands and processes the files.
When running straight from bash I get full output of those LFTP commands on screen.
When running from crontab ...
1
vote
1answer
210 views
lftp: how to echo an unsupported command to remote server
I am connecting to a remote server that requires that I change my password every 90 days (WS_FTP Pro). The command to do that is "CPWD oldpass newpass".
I would like to do it using a script but I ...
1
vote
1answer
617 views
lftp cannot connecto to IIS
I can not connect to IIS using lftp as you can see here:
<--- 200 Language is now English, UTF-8 encoding.
---> OPTS UTF8 ON
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
...
1
vote
2answers
4k views
How can I capture output from LFTP? (Output not written to STDOUT or STDERR?)
I would like get access to progress information from lftp. Currently, I'm using curl like so:
curl http://example.com/file -o file -L 2> download.log
This writes curl's progress information to ...
1
vote
1answer
569 views
Can't connect to server using lftp
I have a lftp file that I want to execute using the following command
lftp -f /usr/scripts/fileS.lftp
If I run this file I get Delaying before reconnect:
Now within this file (fileS.lftp) I have ...
1
vote
1answer
122 views
Copying Folder Contents with Subdirectories Over FTP
I have a folder that contains multiple subdirectories. I would like to copy the contents of the folder over ftp (using lftp preferably) instead of the entire folder.
When I use the mirror command, it ...
1
vote
1answer
259 views
lftp ubuntu cannot local directory
open ftp://dfg:fdggdfg@iis502.ixwebhosting.com
mirror -v --only-newer --loop /var/ixweb/ /sdf/
I have the following in a file and I call it like this
sudo lftp -f /root/ftpyncix
the error is the ...
0
votes
2answers
219 views
error when installing lftp
I am attempting to install lftp on centos I use the command;
yum install lftp
this is the error i am getting:
Could not retrieve mirrorlist ...
0
votes
1answer
1k views
mget: filename.xlsx: file already existst and xfer:clobber is unset
I am getting this: mget: filename.xlsx: file already existst and xfer:clobber is unset error when I try to download the contents of my ftp server. Basically it is setup using cygwin. We recently ...
0
votes
1answer
118 views
Lftp: error handling for server down
How can I check if the server is down or any other connection errors while using LFTP and then email once such error has occurred.
did something this to make it work. Is this the correct/best ...
0
votes
1answer
513 views
How do to white list a specific IP with CSF?
I am using csf & lfd, I am trying to allow all traffic to a specific IP (my backup storage) which I'm using lftp to access.
I have tried using csf.allow, but you have to specify a port or a ...
0
votes
0answers
18 views
“Illegal version” error with LFTP
The following command:
lftp -c 'open -e "set ftps:initial-prot ""; \
set ftp:ssl-force true; \
set ftp:ssl-protect-data true; \
set ssl:verify-certificate no; \
nlist ; " \
-u "username","password" \
...
0
votes
0answers
21 views
ltfp appends semicolon to remote directory names it creates, how can I stop this?
I'm using lftp to sync backup files to a remote server over FTP.
I'm doing so using this straightforward shell script:
#!/bin/bash
HOST="remote-ftp-host.example.com"
USER="example-user"
...
0
votes
0answers
72 views
lftp - Windows Server 2003 : time formats
using lftp client with IIS6 ftp server (Windows Server 2003)
lftp mirroring with --only-newer and disabled the mdtm
but list command isn't working(comaparing timestamps)the client keep iterating ...
0
votes
0answers
88 views
lftp xfer:make-backup yes not working as expected
With default settings, when 'putting' the file, it is clobbered without complaint or warning. When 'getting' lftp complains:
get: super.sh: file already exists and xfer:clobber is unset
I change my ...
0
votes
1answer
193 views
“Unknown command `;'. ” when mirroring a Windows Server FTP Site
I have a Windows server running Windows Server 2008 R2. I've set up an FTP site and a user account and I can connect to it and successfully download files using the Windows command-line FTP client ...
0
votes
1answer
492 views
lftp, setting for ignoring time-stamp?
I am using lftp for mirroring the files on a server to a PC.
The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
-1
votes
1answer
966 views
How to resolve IP address by host/alias name?
i have shell scripts in my redhat server written by previous administrator, which downloads some files from external FTP servers.
lftp -c 'open -e "repeat 10 source getfiles.script" host1' > ...