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.).

2494 questions
26
votes
4 answers

What is the difference between SFTP port 22 or port 990?

I know that explicit "negotiated" FTPS is preferred, because it still uses the standard port 21 with that method but in regards to "implicit" non-negotiated FTPS using a standard port of 990 vs. port 22 (which I have seen some people describe), why…
djangofan
  • 4,182
  • 10
  • 46
  • 59
25
votes
3 answers

Why is the chroot_local_user of vsftpd insecure?

I'm setting up on my VPS a vsftpd, and i don't want users be allowed to leave they're ftp home directory. I'm using local_user ftp, not anonymous, so I added: chroot_local_user=YES I've read in a lot of forum post, that this is unsecure. Why is…
p1100i
  • 579
  • 2
  • 7
  • 15
24
votes
2 answers

nologin in /etc/shells is dangerous.. WHY?

I found this on the internet, while putting up a FTP server in FreeBSD. Putting nologin into /etc/shells potentially creates a back door by which those accounts can be used with FTP. (see:…
Rob Audenaerde
  • 325
  • 1
  • 5
  • 16
24
votes
8 answers

How to resolve FTP Error “Failed to retrieve directory listing” for Administrator account in IIS 7.5

Using my administrator account, I FTP connected to my IIS 7.5 FTP Site with FileZilla. I was able to successfully upload a file, but I keep getting a "Failed to retrieve directory listing" in response. In passive mode, the command, response and…
smartcaveman
  • 685
  • 2
  • 8
  • 18
23
votes
5 answers

How to FTP multiple folders to another server using mput in Unix?

I am logged in on a server (using Putty). from there I'm connecting using FTP to another server. I want to copy several folders from the first server to the second server using mput. Like: ftp> mput folder1 folder2 folder3 But I get "folder1: not a…
Mircea
23
votes
6 answers

What are some secure alternatives to FTP?

This Hacker News story is all about the downsides of FTP. The only reason I might set up FTP is that it's easy. I know about and use scp already, but sometimes I want to share files with someone without giving them ssh access to my server. I want…
Nathan Long
  • 1,545
  • 7
  • 22
  • 38
23
votes
7 answers

How to configure vsftpd to allow root logins?

I'm on SLES 10.1, and trying to configure vsftpd to allow root logins. Does anyone know how to do this? So far, I have this: local_enable=YES chroot_local_user=NO userlist_enable=YES userlist_deny=NO userlist_file=/etc/vsftpd.users And I've added…
user8269
  • 231
  • 1
  • 2
  • 3
22
votes
12 answers

FTP hangs on: 150 Opening ASCII mode data connection

I am setting up an FTP server on my Windows 2008 server (R2). Everything appears to be installed correctly but I am having trouble using an FTP Client to login to my FTP server. I can remote desktop on to the server and through DOS commands I can…
D3vtr0n
  • 407
  • 3
  • 6
  • 15
21
votes
3 answers

useradd not encrypting passwords in /etc/shadow

I stumbled accross this problem when trying to create new FTP users for vsftpd. Upon creating a new user with the following command and attempting login with FileZilla, I would get an "incorrect password" error. useradd f -p pass -d /home/f -s…
BadToTheBone
  • 369
  • 1
  • 3
  • 9
21
votes
5 answers

How to change FTP password from command line?

I am using Windows FTP client to connect to my Linux box. But I dont see any command to change the FTP user password. How can I do this?
Shoban
  • 375
  • 1
  • 4
  • 10
21
votes
1 answer

IIS FTP Server works locally, but cannot connect from remote

I'm trying to setup an FTP server on Windows 2008 Server. I can connect locally: C:\>ftp localhost Connected to WebHead1 220 Microsoft FTP Service However, when I try to connect from remote, it doesn't work: ~>ftp x.x.x.x ftp: Can't connect to…
Mike Christensen
  • 965
  • 1
  • 11
  • 21
20
votes
1 answer

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working on i.e. '/var/www/html/website_abc' so that they could…
ericn
  • 553
  • 2
  • 8
  • 20
20
votes
3 answers

vsftpd: allow access only for certain users

I want to setup FTP server to allow only certain users, so with vsftpd, I add in vsftpd.conf: local_enable=YES user_config_dir=/etc/vsftpd_user_conf In /etc/vsftpd_user_conf for the unix user foo I set in a file…
Istao
  • 303
  • 1
  • 2
  • 4
19
votes
6 answers

How do I setup an FTP server on Windows 7?

I'm having trouble getting an FTP server setup on Windows 7. I've added the service using Control Panel -> Programs -> Turn Windows features on and off. I can see the service has started in Control Panel -> Services. But then when I fire up a…
Matt Frear
  • 301
  • 1
  • 2
  • 6
18
votes
2 answers

What a pros and cons of FTP vs SSH for file transfers?

Why to consider setting up an FTP service on a server when files transfers work fine by means of SSH (with Midnight Commander on a Lunux and FileZilla on a Windows client)? What are pros and cons of both? Except of the fact tat FTP is more widely…
Ivan
  • 3,398
  • 19
  • 50
  • 71