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

3
votes
3answers
8k views

FTP and Apache permission issues

Im having issues as to which user should own my www directory - ftp or apache? When set to the ftp user, the user can add, remoe and easily modify files but php file system actions generate permission ...
20
votes
4answers
53k views

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 ...
38
votes
5answers
20k 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 ...
8
votes
4answers
6k 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 ...
104
votes
15answers
162k 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 ...
18
votes
2answers
41k 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 ...
0
votes
1answer
1k views

Connecting to passive FTP over SSL (ftps)

I have setup an FTP service in Windows Azure using this guide http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx The FTP Server works well when I connect without ...
3
votes
3answers
13k views

Quotas in vsftpd?

I tried to configure user disk quotas for vsftpd. I configured quotas for ftp virtual users using the "quota" package on debian (you know, by editing /etc/fstab and all that stuff). Internet told me ...
12
votes
6answers
15k 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 ...
17
votes
3answers
2k views

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

Setting up vsftpd, hangs on list command

I installed vsftpd and configured it. When I try to connect to the ftp server using Transmit, it manages to connect but hangs on Listing "/" Then, I get a message stating: Could not retrieve file ...
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 ...
3
votes
2answers
9k views

VsFTPd - LDAP - PAM

I am trying to configure a VsFTPd server to authenticate agains an LDAP server. It may be easy, but since it is the first time that I am using both LDAP and PAM, I have some difficulties. VsFTPd runs ...
1
vote
2answers
1k views

How Can I Restrict FTP to a Particular Local Group?

I am running the FTP daemon VSFTPD. I'd like to control FTP access by adding users to a group such that only members of the defined group can access the FTP services. I am thinking I can do this by ...
1
vote
1answer
655 views

Fedora Core 13 and VSFTPD issues

I am running Fedora Core 13 and I have vsftpd (vsftpd-2.2.2-7.fc13.x86_64) up and running, and I can login, but it keeps hanging: $ ftp xxx.local Connected to xxx.local. 220 (vsFTPd 2.2.2) Name ...
0
votes
3answers
5k views

vsftpd: **ONLY** Ftp access for local user?

I have vsftpd server that allow local users to login to ftp. How to prevent some local user to login to shell account and allow only login to ftp server (vsftpd) ?
19
votes
7answers
103k 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 ...
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 ...
4
votes
1answer
7k views

EC2 FileZilla login OK but no write or delete access

I am a total Apache noob, and after much hair-pulling and gnashing of teeth finally got SFTP access to new EC2 instance in passive mode. Can login only as "ec2-user", or "root" with no password, but ...
9
votes
4answers
34k views

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

Backup linux to ftp server

What do you use for backups to ftp server? I've tried the setup with Amanda and virtual tapes on the ftp server mounted with Curlftpfs and I'm not satisfied with it. I just don't feel confident about ...
2
votes
1answer
908 views

How should I structure my users/groups/permissions for a web server?

How should I setup permissions in the most secure way on my dedicated server which I'm running FTP + Nginx on? I want FTP to be able to read/write files and I want Nginx to be able to read/write the ...
0
votes
3answers
5k views

“Corrupted MAC on input. Packet Corrupt” on file transfer over SSH, SCP, and FTP on Linux Server

help on this would be great. Specs: LAMP server Linux OS - Debian 5.0.1 4x Intel(R) Xeon(TM) CPU 2.80GHz Important Packages: openssl - SSL security iptables - firewall to block all requests ...
5
votes
2answers
14k 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
712 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.
4
votes
4answers
12k views

vsFTPd default uploaded file permissions on Ubuntu not working

I have a Server running Ubuntu 12.10 x64, and the last version of vsFTPd. My user example.com has its home folder set on /var/www/example.com, I created a public_html folder inside and gave 777 ...
3
votes
7answers
16k views

IIS7 Windows Server 2008 FTP -> Response: 530 User cannot log in

I just launched my first IIS FTP site following many of the tutorials from IIS.NET... I'm using IIS Users and Permissions rather than anonymous and/or basic. This is what I'm seeing while trying to ...
2
votes
6answers
25k views

Active FTP client blocked by Windows Firewall on Windows 7

I have an application that runs as a service and contains an FTP client. It needs to connect to an FTP server that only supports Active FTP. When I attempt to get a list of files or download a file, ...
0
votes
4answers
1k views

FTP from batch file

I'm trying to use a batch file to download a package off my FTP server. echo username >ftp.txt echo >>ftp.txt echo cd directory >>ftp.txt echo get filename >>ftp.txt ftp ...
0
votes
1answer
457 views

How to setup a proper SFTP user in linux?

I have a special user called ftp just for... ftp. Now, I log in via SFTP and everything is cool BUT: I automatically log in to my home dir: /home/ftp which is not cool. If i change the default home ...
-1
votes
1answer
2k views

set up single directory ftp access for customer on Ubuntu

I have a user who like to use the our Bitnami AWS ec2 instance to store podcasts. Up to this point they have been using http://www.lemonzdream.com/podcastmaker/ with MobileMe. Now that MM is dead, ...
11
votes
5answers
16k 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 ...
8
votes
2answers
5k views

Is IIS SFTP natively supported by Windows Server 2012 R2?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
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 ...
2
votes
3answers
579 views

How to configure Web/FTP Server so that it downloads .sh files instead of showing its content

I have an FTP server (vsftpd) where there are many files of various types. Normally when you click on .tar.gz file in your browser, it starts downloading it. The problem is when user clicks on .sh ...
2
votes
2answers
2k views

Setting up vsftpd with users locked to specific directory

I setup vsftpd, and changed the chroot settings in the vsftpd.conf file. But how do I make a user able to access only /var/www/html/username_here/ I made the user with useradd, but what's next? ...
2
votes
3answers
2k views

FTP Active vs passive mode

I have a FTP server and while doing testing I found an odd issue that I don't understand. I send a RETR command on file "/Folder1/file.txt" and it works fine. Then I send a RETR command on file ...
1
vote
5answers
546 views

FTP script needs blank line

I am trying to determine the reason for some FTP servers requiring a blank line in the script as follows: open server.com username ftp_commands bye Refer to blank line required after username ...
0
votes
2answers
865 views

FTP reverse proxying based on hostname/domain

I just set up nginx as a http/https reverse proxy and it worked well. After that, I realized that for some domains ftp services are available. I was able to install ftp.proxy and it also works well, ...
0
votes
3answers
2k views

FTP Rates drop off after a short time

I am trying to transfer a number of large (10's of GB up to 100's of GB) files to an HP DL380 host, running vsftpd on a 10 GigE network / LAN. The transfer initially starts out fast, i.e. 45-60 MB/sec ...
0
votes
4answers
25k views

Allow anonymous upload for Vsftpd?

I need a basic FTP server on Linux (CentOS 5.5) without any security measure, since the server and the clients are located on a test LAN, not connected to the rest of the network, which itself uses ...
0
votes
3answers
989 views

FTP -> VSFTPD -> allow uploading folders

I have a Fedora FTP server that uses VSFTPD. I wanted to know how I could allow the users to upload directories and make directories. Thanks in advance.
-3
votes
1answer
352 views

FTP server configation [duplicate]

Possible Duplicate: set up single directory ftp access for customer on Ubuntu I have installed Ubuntu 10.04 server in my server for the ftp configration i want to configure in such a way ...
-5
votes
1answer
218 views

Why I can't upload files without chmod 777? [closed]

I was not able to upload files on my site (cent OS 6 VPS). The path where web files should be uploaded is /var/www/html. The permissions of directories were 755 and of files were 644. But when I ...
5
votes
5answers
13k views

VSFTPD 530 Login incorrect

I'm trying to get a vsftpd server set up on CentOS 5.3 x64. I'm not able to get any local user login's to work. Here is my vsftpd.conf: local_enable=YES write_enable=YES pam_service_name=vsftpd ...
8
votes
9answers
50k 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 ...
5
votes
2answers
708 views

What is the proper way to set up the Apache document root in terms of privileges?

I have just installed Ubuntu 9.10 server edition on my machine and I wish to run my own personal local server with other users in the same LAN. First, I was wondering what folder directory structure ...
4
votes
5answers
8k views

AWS:EC2:: Could not connect FTP client?

My Server OS: Amazon Linux I am trying to set up ftp. I have: Installed vsftpd open port 20-21 open port 1024 - 1048 Basically, I followed every of these steps Start vsftpd service (the status ...
4
votes
2answers
1k views

What is the secure way to isolate ftp server users on unix?

I've read documentation for various ftp daemons and various long threads about the security implications of using a chroot environment for an ftp server when giving users write access. If you read the ...