9
votes
Save certificate to use with lftp
It seems like lftp is not configured correctly on many systems, which makes it unable to verify server certificates. Maybe this is the underlying cause for your problem.
The web is full of ...
8
votes
Accepted
How does an FTP client set file permissions on server?
Your colleague is right, in the sense that October 1985's RFC 959 doesn't seem to provide a command specifically designed for permission changes. RFC 959 does provide specifications of commands to ...
7
votes
Simple command to connect to FTPS server on Linux command line
it will fail on some servers, because ssl settings should be passed before the open command not within it. example of working one:
lftp -c 'set ftp:ssl-allow true ; set ssl:verify-certificate no; ...
6
votes
Simple command to connect to FTPS server on Linux command line
I tried to connect to Proftpd server with above config but it does not work.
But, when I try to connect with the following config, it works:
Create a config file with vi:
vi .lftprc
Put the ...
5
votes
Simple command to connect to FTPS server on Linux command line
Simple
Here you have: ftp-ssl
Per default tries to connect via SSL or TLS. It needs no particular options or settings. And if secure connection is not available performs a standard FTP connection.
ftp-...
5
votes
Save certificate to use with lftp
Warning: other answers here destroy connection security
All those answers that invite to disable certificate verification definitely weaken security as they make the connection vulnerable to man-in-...
4
votes
Accepted
FTPS: how does the client obtain the server's certificate when the client is in Implicit TLS mode?
"Implicit TLS" in FTPS works exactly like TLS in HTTPS and uses the same handshake as browsers do with web servers, for which the steps are explained in various articles:
https://www....
4
votes
Accepted
How do I obtain a trusted, signed, client certificate for use with an FTPS site in IIS and tied to a Windows user?
"Trusted" in the usual sense (i.e. worldwide) is not useful here.
As far as "web" CAs go, it is only useful for email (S/MIME) certificates, which interact with all kinds of random ...
4
votes
Upload file to ftps from command line
ftps:// is implicit FTPS (port 990).
To use explicit FTPS (port 21), use --ssl switch (or even better --ssl-reqd to enforce FTPS):
curl -T testFtpFile --ssl ftp://host --user my_user
Note that -P ...
3
votes
Accepted
trust server certificate with lftp
The only solution a year later is still to turn off ssl:verify-certificate for specific certificate fingerprints.
set ssl:verify-certificate/{fingerprint1} no
set ssl:verify-certificate/{fingerprint2}...
3
votes
FTP error 425 failed to establish connection
on a vsftpd server within CentOS 7 there was an error 425 sometimes
ftp.exe from Windows Legacy (2000, XP, 7) support only active ftp (ports 21,20)
ftp.exe from Windows 10 does work with passive mode....
2
votes
Where is the encryption "password" for auto-encrypted WS_FTP SSH private SSH keys?
I know this is an old thread but I spent a lot of time trying to figure this out and I couldn't find any guides online apart from this post. Martin was on the right path except for the base64 encoding ...
2
votes
Accepted
Netbeans fails FTP upload when encryption is enabled
FTP is a protocol which uses separate connections to transfer the data and exchanges inside the control connection the ports used for these connections. This makes it very problematic for firewalls ...
2
votes
How do I specify an MVS data set name when using lftp?
For FTP transfers to z/OS there are a few considerations. First, there are two types of files you can send data to: MVS files and USS files.
MVS files are the traditional types of files on z/OS and ...
1
vote
How to have `lftp` compare directories and only sync changed files?
The lftp has mirror command to synchronize local nd remote folders:
mirror [OPTS] [source [target]]
You didn't specify in what direction you want to synchronize. The mirror by default synchronizes ...
1
vote
How Can I Stop Virgin Media Hub 3.0 From Interfering with my FTPS Server
I used the link that @kicken mentioned in their comment and that sorted out the problem. I think both that answer and @user1686's answer helped solve the problem.
1
vote
Accepted
How Can I Stop Virgin Media Hub 3.0 From Interfering with my FTPS Server
I think you actually have the exact opposite problem.
Usually FTP happens to work only because the router tampers with such things as PASV responses, substituting its own public IP address in place of ...
1
vote
Accepted
Cant connect to FTP after activating SSL
The problem you are experiencing is unlikely to be related to the changes in Apache you reference.
What seems more likely is that your FTP client isn't handling the Filezilla FTP server settings you ...
1
vote
Accepted
Issues connecting with MoveIT Freely in Implicit mode: "Security handshake failed"
. 2019-08-09 12:05:59.988 Session ID reused
The server possibly requires TLS/SSL session reuse. Apparently this is not supported by MOVEit version 8.0 and older. Quoting an old documentation from ...
1
vote
trust server certificate with lftp
What worked for me step by step with lftp:
get certificate of host with openssl s_client -connect <ftp_hostname>:21 -starttls ftp, at the begining of result I got something like -----BEGIN ...
1
vote
Passive mode FTP works over WAN but not LAN
Destination IP of data connection does not match peer IP of control connection. Not binding source address of data connection.
That’s pretty definitive. The client is not going to accept a control ...
1
vote
Illegal PORT command. - Connecting though WinSCP
You have configured WinSCP to use an active FTP mode.
I'm pretty sure, you use a passive mode in FileZilla.
Make sure you re-enable the passive mode in WinSCP:
https://winscp.net/eng/docs/...
1
vote
Accepted
FileZilla - Primary Connection and Data Connection Certificates Don't Match
In my research of the "Primary connection and data connection certificates don't match" error message reported by the FileZilla Client software, most solutions seem to point to a misconfiguration of ...
1
vote
Accepted
FTP server cannot complete SSL handshake (VSFTPD)
Server Response: 234 Proceed with negotiation.
Server [TCP Retransmission] 21 → 64423 [PSH, ACK] Seq=21 Ack=11 Win=29056 Len=31 TSval=3062736822 TSecr=996282
What you see is not the TLS handshake. ...
1
vote
FTP error 425 failed to establish connection
ftp uses two type of connection
1st for FTP cammands and replies
2nd for data transnmission
first add rule to ufw to allow 21 port.
$sudo service ufw allow 21
If it won't work then try to stop the ufw ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ftps × 56ftp × 32
ssl × 11
sftp × 8
networking × 7
filezilla × 7
linux × 6
certificate × 5
tls × 5
lftp × 5
windows × 4
firewall × 4
curl × 4
winscp × 4
windows-10 × 3
ubuntu × 3
command-line × 3
file-transfer × 3
vsftpd × 3
router × 2
backup × 2
amazon-web-services × 2
xml × 2
ssl-certificate × 2
upload × 2