Skip to main content
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 ...
ingomueller.net's user avatar
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 ...
TOOGAM's user avatar
  • 16k
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; ...
Abu-Sadek's user avatar
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 ...
quan.nd's user avatar
  • 61
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-...
loved.by.Jesus's user avatar
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-...
Stéphane Gourichon's user avatar
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....
grawity_u1686's user avatar
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 ...
grawity_u1686's user avatar
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 ...
Martin Prikryl's user avatar
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}...
notabot2's user avatar
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....
fometeo's user avatar
  • 51
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 ...
PatrykB's user avatar
  • 21
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 ...
Steffen Ullrich's user avatar
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 ...
Hogstrom's user avatar
  • 1,537
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 ...
Martin Prikryl's user avatar
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.
Limisios's user avatar
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 ...
grawity_u1686's user avatar
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 ...
Anaksunaman's user avatar
  • 17.5k
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 ...
Martin Prikryl's user avatar
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 ...
Philippe Gachoud's user avatar
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 ...
Appleoddity's user avatar
  • 11.8k
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/...
Martin Prikryl's user avatar
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 ...
G_Hosa_Phat's user avatar
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. ...
Steffen Ullrich's user avatar
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 ...
0x00tbt's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible