Questions tagged [ftp]

File Transfer Protocol is a standard network protocol used to transfer data across TCP-based networks between hosts.

File Transfer Protocol (Wikipedia article) is a protocol, governed by well-established Internet standards, for conducting file operations (e.g. transferring files between two systems) over a TCP-based network such as the Internet or a local area network. FTP employs a client-server architecture, where one system is the "client", which opens a connection to the other system, the "server", the client makes requests of the server, and then closes the connection.

The most common FTP operations that a client will initiate include downloading files (i.e. "get" files from the server) and uploading files (i.e. "put" files on the server). There are a variety of file system related commands that the client request of the server (e.g. making directories, renaming files on the server, deleting files from the server, etc.).

2481 questions
207
votes
18 answers

How to use rsync over FTP

Any unix: I have the following cmd line which works fine. rsync -avr -e ssh /home/dir user@example.com:/home/ But I need to set it up now to rsync to a remote server that only has an FTP server on it. How do I go about that? I looked at the rsync…
bumperbox
  • 2,273
  • 3
  • 16
  • 13
112
votes
13 answers

Using wget to recursively download whole FTP directories

I want to copy all of the files and folders from one host to another. The files on the old host sit at /var/www/html and I only have FTP access to that server, and I can't TAR all the files. Regular connection to the old host through FTP brings me…
user9406
110
votes
8 answers

Allow SFTP but disallow SSH?

I'm starting a very little hosting company for a few friends and little clients, nothing big. I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure and it's in my opinion obsolete. So I'd like to…
Tommy B.
  • 1,403
  • 2
  • 14
  • 14
71
votes
10 answers

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 match ‘blogname.com’ I think lftp is checking the…
patrick
  • 812
  • 1
  • 6
  • 6
59
votes
5 answers

How to configure vsftpd to work with passive mode

Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client, but I could not connect with passive mode. I always change…
Toqeer
  • 1,201
  • 3
  • 13
  • 20
44
votes
3 answers

Create new vsftpd user and lock to (specify) home / login directory

I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed. I've created a user using useradd [user_name] and given them a password using passwd [password]. I've created a…
zigojacko
  • 1,433
  • 2
  • 12
  • 25
39
votes
4 answers

FTP/FTPS/SFTP/SCP - Speed comparison

How do FTP, FTPS, SFTP, and SCP compare in terms of transfer rate and how can I compare them through testing?
Graham
  • 399
  • 1
  • 3
  • 3
39
votes
6 answers

Why does FTP passive mode require a port range as opposed to only one port?

I'm struggling to come to grasp with why all FTP servers requires the use of a port range for passive mode data channels as opposed to only using one data port for all incoming data channel connections. FTP servers handle many simultaneously…
Kurt
  • 493
  • 1
  • 4
  • 6
36
votes
2 answers

Is IIS SFTP natively supported by Windows?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
James20
  • 361
  • 1
  • 3
  • 3
36
votes
1 answer

"500 Illegal PORT command" using command-line ftp

Has anyone figured out how to ftp a file down to a EC2 AMI using ubuntu on the command line? I am able to connect to ftp.drupal.org (I'm trying to dowmload a Drupal module) and then I can't even execute a simple "ls" let alone a "get". I just get…
chuckboycejr
  • 511
  • 1
  • 4
  • 6
34
votes
7 answers

What firewall ports do I need to open when using FTPS?

I need to access an FTPS server (vsftpd) on a vendor's site. The vendor has a firewall in front of the ftps server. I have a firewall in front of my FTPS client. I understand that ports 990, 991 and maybe 989 need to be opened up for control…
user3293
31
votes
9 answers

How can I map a SFTP to a Drive, natively in Windows

Today I saw that Vista and Win7 (which I am using) have the option to map ftp natively, according to this article: http://cybernetnews.com/cybernotes-map-a-ftp-to-a-drive-in-windows/ But I need to have sftp... does windows has the same function for…
Igor B.
  • 375
  • 1
  • 4
  • 7
31
votes
5 answers

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

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. Remote server: only accessible via FTP. No rsync nor…
Nicolas Raoul
  • 1,314
  • 7
  • 22
  • 43
27
votes
3 answers

Allowing FTP with IPTables

My current scenario involves allowing various rules, but I need ftp to be accessible from anywhere. The OS is Cent 5 and I am using VSFTPD. I can't seem to get the syntax correct. All other rules work correctly. ## Filter all previous…
IOTAMAN
  • 665
  • 2
  • 8
  • 13
26
votes
2 answers

Do the SSH or FTP protocols tell the server to which domain I am trying to connect?

When using the ssh or ftp commands from the Bash shell, does the server that I am connecting to learn of the domain name used? I understand that the domain name is locally translated into an IP address via DNS. In HTTP, after that happens, the…
dotancohen
  • 2,410
  • 2
  • 24
  • 38
1
2 3
99 100