Skip to main content
Share Your Experience: Take the 2024 Developer Survey
15 votes

530 Valid hostname is expected when setting up IIS 10 for multiple sites

When configured with two or more hostnames, the correct virtual host name and username must both be sent in the username by the ftp client. Separate the site name and user with the vertical line ...
Dre's user avatar
  • 1,834
14 votes

Vsftpd passive reply with 0,0,0,0 address even with correct pasv_address

It looks like a bug in vsftpd to me. From the code, it looks like, vsftpd always sends the 0,0,0,0, if the public pasv_address is set, and the server has a (local) IPv6 address. To fix this, make sure ...
Martin Prikryl's user avatar
11 votes

ProFTPd: Multiple Domain VirtualHosts on one IP address

Note that with the advent of RFC 7151, FTP now has a HOST command for supporting true name-based virtual hosts, just as the Host header does for HTTP 1.1. And ProFTPD implements this HOST command as ...
Castaglia's user avatar
  • 3,399
11 votes

How to find installed pure-ftpd version?

This should work universally: $ pure-ftpd --help | head -1 pure-ftpd v1.0.36 [privsep]
EEAA's user avatar
  • 110k
11 votes

Data Channel Port Range box in IIS Manager is disabled

As you can see on the first screenshot: And as is mentioned also in the page you link to: Go to IIS 7 Manager. In the Connections pane, click the server-level node in the tree. I.e. the option can ...
Martin Prikryl's user avatar
9 votes
Accepted

FileZilla Server 425 Can't open data connection for transfer of "/"

You have most probably not opened the data connection ports on the firewall of the server (or have not forwarded the ports on NAT, if there's any). Check what ports the FTP server is using and open/...
Martin Prikryl's user avatar
8 votes

wget ftp connection failing after PASV command

Another way is to avoid the passive mode, add --no-passive argument in your wget command can do it. wget -r --no-passive --no-parent ftp://account:<password>@<ip address>/folder/ -P /root
ytll21's user avatar
  • 181
8 votes

FTP 550: Permission Denied

1, Add the following parameters in your vsftpd.conf to give permission to anonymous user or script in your Linux machine. The vsftpd.conf may be located in /etc/vsftpd.conf. write_enable=YES ...
sanjeev soni's user avatar
8 votes
Accepted

530 Valid hostname is expected when setting up IIS 10 for multiple sites

It appears that you're attempting to connect to the FTP site using a hostname which is not currently configured in any of the bindings to the FTP site within IIS. I base this only on the error ...
BE77Y's user avatar
  • 2,697
7 votes
Accepted

Windows FTP over SSH

I know this is not the answer you want, but I strongly recommend switching to SFTP. First of all, SFTP is a different protocol, it's not just FTP over an SSH tunnel. So proxying ftp.exe over ssh.exe ...
Stuggi's user avatar
  • 3,576
6 votes

How to configure vsftpd to work with passive mode

I had to do the following steps to get vsftp passive mode working on CentOS 8: Enable passive mode in vsftpd config /etc/vsftpd/vsftpd.config: pasv_enable=Yes pasv_min_port=50000 pasv_max_port=50999 ...
h18c's user avatar
  • 121
6 votes
Accepted

How are files created during FTP?

Yes it probably does use mkdir(2) and open(2) (or something very similar). You could check by running strace(1) on your ftp daemon and exercising it e.g. strace -p <pid of ftp daemon>
user9517's user avatar
  • 116k
6 votes
Accepted

What does an infrastructure that hosts an FTP server with HTTP access look like?

Typically the FTP server and Webserver are not running on different computer systems but both services are running on 1 single host. Both the FTP service and web service point at the same directory ...
HBruijn's user avatar
  • 80.7k
5 votes

FTP v/s SFTP v/s FTPS

Any-one interested in some numbers here are my results from running some benchmarks on my local network. SMB 2.1 performance is about 112 MB/s Machine: Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz/...
Chad's user avatar
  • 231
5 votes

vsftpd error: 500 OOPS: vsf_sysutil_bind

I was having trouble with this issue for the past few days, at first I followed the route of the one answer of installing proftpd. That did not pan out as I'd hoped so I tried pure-ftpd, failing that ...
Wouter's user avatar
  • 51
5 votes

ProFTPd - Cannot login at all, constant 530 error

I think that listing invalid shells like /sbin/nologin as valid ones is not the proper way to go (they have been removed on purpose), and neither is allowing the FTP users to log in to the system when ...
Jiri Valenta's user avatar
5 votes

Server sent passive reply with unroutable address when connecting to FTP site with FileZilla

This is old question but thought it may help other. I have a similar issue and mentioned by @HBrujin I have correct pasv_address specified as well but still having similar message appearing on ...
Pritesh Patel's user avatar
5 votes
Accepted

Ports for FTP passive mode

Add the following: PassivePortRange 50000 55000 in /etc/pure-ftpd.conf and i think that your problem will be solved. Keep in mind that this port range should also be allowed in your firewall. ...
Vikelidis Kostas's user avatar
5 votes
Accepted

Pure-ftpd with MySQL - Crypt() not logging me in with hashed passwords

--- BEGIN tl;dr --- Assuming your Pure-FTPd is running on a Linux host with glibc 2.7+: Use MySQLCrypt crypt – without parentheses Run this Python 3 one-liner on the same system where Pure-FTPd runs:...
astralblue's user avatar
5 votes
Accepted

Using cheap unlimited hosting as ftp backup location?

The catch is that they will tell you to bugger off faster than you can upload once it is clear what you try to do. They may even hit you with a large invoice if they have a fair use or similar clause ...
TomTom's user avatar
  • 52k
5 votes

Windows FTP over SSH

SFTP isn't quite the same as just tunneling FTP inside SSH, its actually an extension to the SSH protocol. In theory, an FTP connection to a host could be tunneled via a separate SSH tunnel. To do ...
muurain's user avatar
  • 51
5 votes

Why are network file transfers so slow with multiple small files?

Each individual file transfer is a transaction and each transaction has overhead associated to it. A rough example: Client tells server: "I want to send a file, the filename is example.txt, size ...
Tero Kilkanen's user avatar
4 votes

How can I capture output from LFTP? (Output not written to STDOUT or STDERR?)

See for the "log:file/xfer" default setting by entering set command in lftp. Possible output: set log:file/xfer /home/USERNAME/.local/share/lftp/transfer_log You can change this in different ways ...
Gabe's user avatar
  • 41
4 votes

How to use rsync over FTP

rclone is a nice piece of software that does directory synchronization over ftp and many other protocols including cloud storage providers (Amazon S3, Dropbox, Google Drive). It can synchronize to/...
bernie's user avatar
  • 385
4 votes

How to upload a directory recursively to an FTP server by just using ftp or lftp?

cd {local_dir} lftp {server} cd {remote_dir} mput {local_dir}/* This worked for me, many other attempts were failing. Once in lftp, more info available via: help mput
austin's user avatar
  • 141
4 votes

Filezilla/Puttygen doesn't recognize private key file

changing the password, as sugggested above, worked for me. I changed the password ssh-keygen -p -f private_keyfile then tried again to use puttygen to create a ppk file and it was successful. ...
andrew perry's user avatar
4 votes

Fail2ban does not ban any ip-adresses with vsftpd

vsftpd.log deny log looks like: Wed Jun 29 14:57:37 2016 [pid 2517] [username] FTP response: Client "::ffff:192.168.0.100", "530 Permission denied." and the default failregex WHICH isn't working in ...
voipadmin's user avatar
4 votes
Accepted

SFTP server: better to use SSH internal sftp subsystem or ProFTPD plugin?

SSH's sftp server has some additional requirements for chroot directories, ie. user cant have write access to chroot dir in some enviroments this might be a problem. If You also need ftp/ftps I would ...
Lazy404's user avatar
  • 365
4 votes

How to enable TLS 1.1 **minimum** on vsftpd

Answer isn't posted, so I thought I'd follow up for the rest... To disable TLSv1.0 and enable TLSv1.1 and TLSv1.2 just add these two lines and change the third: ssl_tlsv1_2=YES ssl_tlsv1_1=YES ...
Rhino's user avatar
  • 41
4 votes
Accepted

vsftpd local users error "Incorrect login"

1.) Add User with: (This won't change anything in Ubuntu but just in case.) sudo deluser ftpuser1 sudo adduser ftpuser1 sudo nano /etc/passwd - Change the path if needed 2.) In vsftpd.conf ...
gdarko's user avatar
  • 156

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