File Transfer Protocol is a standard network protocol used to transfer data across one host to another via a TCP-based network

learn more… | top users | synonyms

98
votes
15answers
148k views

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 ...
49
votes
12answers
114k views

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 ...
34
votes
5answers
15k views

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 ...
20
votes
6answers
233k views

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 ...
18
votes
2answers
34k views

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 ...
18
votes
2answers
2k views

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: ...
17
votes
6answers
88k views

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 and I have a firewall in front of my ftps client. I understand that ports 990, 991 ...
14
votes
4answers
43k views

Command-line FTPS (not SFTP) client for Linux

I need to set up a script on a Linux machine to download files from a server using FTPS, what options do I have?
14
votes
3answers
21k views

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 ...
14
votes
6answers
5k views

What are some secure alternatives to FTP? [closed]

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 ...
12
votes
10answers
1k views

What good free software is available for backing up a few PCs?

I have a network of about 30 Windows PCs. What good free software is available that will automatically (scheduled) make backups (not whole HDD but only certain folders) for these PCs and save on a ...
12
votes
1answer
44k views

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 ...
11
votes
4answers
67k views

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 ...
11
votes
6answers
14k views

When IP aliasing how does the OS determine which IP address will be used as source for outbound TCP/IP connections?

I have a server running Ubuntu Server with four IP addresses aliased on a single NIC. eth0 192.168.1.100 eth0:0 192.168.1.101 eth0:1 192.168.1.102 eth0:2 192.168.1.103 (Using ...
11
votes
5answers
13k views

What is the maximum number of files (or folders) that can be stored in a single folder?

Is there a maximum limit on the number of items that can be stored in a folder on Windows Server 2008? We have a requirement to handle the ftp of hundreds of thousands of items to a folder and ...
11
votes
5answers
57k views

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?
11
votes
3answers
5k views

Tuning Linux disk caching behaviour for maximum throughput

I'm running into a maximum throughput issue here and need some advice on which way to tune my knobs. We're running a 10Gbit fileserver for backup distribution. It's a two disk S-ATA2 setup on an LSI ...
9
votes
2answers
10k views

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 ...
8
votes
5answers
3k views

Is it possible to setup a writeonly ftp?

I'd like to setup an ftp such that my users (and some software I write) can upload documents, and have those documents saved on the server but I don't want to allow users to see the contents of the ...
8
votes
4answers
16k views

ASCII vs Binary vs Auto?

I'm transferring files between servers and just started noticing that some of them are getting modified to be one long continuous line as opposed to having the returns and line-breaks they originally ...
8
votes
4answers
5k views

FTP v/s SFTP v/s FTPS

We're setting up a web server at our workspace. In conjunction, we're planning to install an FTP server, however I'm stuck at what protocol to employ -- FTP, SFTP or FTPS. I googled around, trying to ...
8
votes
6answers
606 views

Are there any free software to test web server?

I wrote own http server. Are there any free software, test packages or toolset to validate whether it complies fully or partially with HTTP 1.0 (rfc 1945). And moreover it'd great if this software ...
7
votes
9answers
44k views

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 ...
7
votes
4answers
10k views

Firewall blocking FTP server on Windows 2008 R2

I can access the FTP site without problems from the local machine, but it times out from the remote machine. If I turn the firewall off COMPLETELY, it works. Obviously, this isn't really a ...
7
votes
6answers
25k views

How to prevent TCP connection timeout when FTP'ing large file?

I am not able to FTP (retrieve) a large file from the Internet to my Linux VM. It times out after a while. The actual error is "Could not read reply from control connection -- timed out." This error ...
7
votes
7answers
1k views

Website hacked again

Final Update: Things have been peaceful for the past few weeks and taught me much more about website security and risks. Here's my version of story - I was using an older version of wordpress and ...
7
votes
2answers
609 views

Dissecting a website attack through a compromised FTP account

My site has been hacked and at this point, I know some details, but I'm at a loss at exactly how it happened or how to prevent it in the future. I need your help in trying to dissect the attack so ...
7
votes
1answer
10k views

How to get list of banned IPs from Filezilla FTP Server for Windows?

Filezilla FTP server provides with a ban of ips after a certain amount of attempts. How I can get the IPs being banned.
6
votes
6answers
3k views

On what basis should you select ACSII or Binary transfers over FTP?

FTP clients, including those used programatically, allow the user to select ASCII or Binary transfers when uploading a file. Some clients also support some flavor of Auto, where you leave it to the ...
6
votes
5answers
37k views

Can't connect to my FTP server, why?

I have a windows 2008 server running with FTP 7 on IIS 7. I have it configured to connect as it is out of the box, with a particular user (lets say john) with read/write access. When I use my ...
6
votes
4answers
3k views

Weird file corruption when using FTP. Any theories?

Sometimes when I'm uploading a large number of small files via FTP, some of the files' contents will be replaced with FTP control messages. For example, after uploading a website I'll notice that an ...
6
votes
9answers
10k views

Console FTPS (not SFTP) client?

I need to automate some transfers but it seems i can't find a decent command-line ftp client supporting FTPS for the windows platform? winscp supports SFTP but there's no good SFTP server for windows ...
6
votes
2answers
4k views

symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I created a user which can only access to his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
6
votes
2answers
265 views

FTP client receives whole file, but always closes connection before finishing

On a Windows Server 2008 R2 Standard machine, I'm having trouble connecting to and downloading a file from a Windows FTP server. Filesize is ~3KB to 6KB. Very rarely ~100KB to ~500KB, but the server ...
5
votes
5answers
487 views

If I use ftp or telnet by accident, to what extent is my password unsafe?

if i use ftp or telnet by accident (usually on the bash shell), to what extend is my password visible? can my coworker see it? can my neighbor see it if i work at home (if not using wireless)? can ...
5
votes
7answers
2k views

What does FTP Jailing mean, and what features does a server OS require in order to enable it?

I have a fuzzy notion of what the term "ftp jailing" means, but when it comes to permissions and security, fuzzy is imprudent. What is it? How is it implemented? Is it mostly a capability of the ...
5
votes
3answers
398 views

Capabilities of AS400 FTP Client

I have a customer who is attempting to send data to my company via FTP, from an AS400. The customer maintains that all usernames and passwords are converted to upper-case by the AS400 FTP client. This ...
5
votes
2answers
8k views

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 ...
5
votes
3answers
5k views

Forward FTP with IPTables

I'm trying to forward an FTP-server with IPTables. The FTP-Server is running on a Windows 2008 box (Cerberus). Details Win Box: IP: 192.168.220.51 FTP-Port: 21 PASV-Ports: 11000-13000 The ...
5
votes
6answers
871 views

Temporary FTP accounts?

I'm doing some work for a printing company right now. They'd like to setup a more secure FTP situation. It seems like, from what they've described to me, most printing companies have a general FTP ...
5
votes
1answer
12k views

vsftpd - local_root=/var/www/sites/$USER doesn't get interpreted?

When I'm trying to connect to FTP server I get: "500 OOPS: cannot change directory:/home/$USER/public_html" when I do echo $USER - I get proper username seems like $USER isn't interpreted inside my ...
5
votes
4answers
628 views

Why was the FTP protocol designed to use more than one port?

The question is in the title. The reason I wonder this is because I'm coding an tcp service and would like to explore some of the reasons as they may shed some light on my work.
5
votes
1answer
2k views

Can I configure VSFTPD to listen only to localhost?

I have a legacy app that needs FTP and cannot do SFTP. My solution is: put an FTP server in place using VSFTPD configure the firewall to accept port 21 connections only from localhost Set up an SSH ...
5
votes
3answers
4k views

How to FTP 'get' a partial file only

I'm working on a tool to get some data that is buried within a very large file on a remote system. It would be impractical to copy the entire file over, and all of the data I need exists within the ...
5
votes
1answer
11k views

“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 ...
5
votes
4answers
4k views

What are some of the command-line windows FTP clients available?

I'm trying to publish web applications automatically using command-line but the default Windows FTP client does not support recursive upload/download for instance. What are my alternatives to the ...
5
votes
3answers
1k views

How does a vsftpd server work and how to configure it?

I was asked to configure a FTP server, based on the vsftpd package. The server is running on a remote machine to which I have a superuser privilege access. Being unfamiliar with the mechanics of FTP ...
5
votes
2answers
7k views

FTP Server for Windows Server 2008 - Filezilla or IIS?

I'm setting up a Windows Server 2008R2 cloud server on rackspace and ftp will be used by only a few users. Any thoughts on using Filezilla vs IIS 7.5?
5
votes
4answers
24k views

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 ...
5
votes
3answers
5k views

ProFTP Won't Return Directory Listing

So I installed ProFTP on my Ubuntu 10.10 server. Using FileZilla, I can connect and authenticate, but I cannot get the directory listing. Here are the last few lines returned to me: Status: Connected ...