The File Transfer Protocol

learn more… | top users | synonyms

2
votes
2answers
3k views

How to set up file permissions/ownership for FTP/Apache/PHP on CentOS

I have basic understanding of chmod and CentOS file permissions. 777 stands for 111111111 and rwx for each root, group, user, etc. What I can't get my head around is setting up Apache, FTP and PHP to ...
-1
votes
3answers
217 views

How to stop outbound ftp from being established. centos/ rhel

What is the method to block a machine from establishing connection to an outside ftp server. Both ftp and sftp. inet, iptables, shutdown service?
0
votes
0answers
22 views

Apache web server - FTP host connection issue in LAN [closed]

OS: Ubuntu 12.04 Web Server: Apache 2.2.22 Apache web server IP Address: 192.168.0.21 Virtual Host for website in Apache: 50000MySite001 Link to access website in LAN: 192.168.0.21/50000MySite001 ...
0
votes
1answer
27 views

FTP Sync via GVFS

I need to edit PHP files on an FTP server and since my local editor is unreliable when saving to a GVFS mount, I let rsync do the synchronization: #!/bin/bash webroot=/run/user/1002/gvfs/ftp\:host\=...
0
votes
2answers
3k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
0
votes
0answers
14 views

FTP user home directory for LDAP group

My company uses LDAP server for users authentication. We are now planning to add FTP server. The complicated thing is - we need several users belonging to the one group in LDAP have same home (chroot) ...
2
votes
0answers
1k views

Permissions for Apache and FTPd users

I'd like advice about permissions on directories and files on a web/ftp server. Here is my situation: Debian Server with those user:group userme:userme for SSH www-data:www-data for apache/php ...
0
votes
1answer
17 views

Why are all files incoming via FTP erased into empty files?

My FTP service is misbehaving. Erasing all incoming files to empty (0 filesize) I have been running FreeBSD 9.0 webserver, and finally thought I would upgrade. I tried to to it using this command: ...
1
vote
1answer
1k views

Two vsftpd instances - check passive port on FTPS

I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here the content of the second conf file: anonymous_enable=NO chroot_list_enable=YES ...
1
vote
1answer
30 views

Why don't I see packets when I listen on my ftp port with tcpdump on localhost?

I'm accessing my localhost ftp server by Iceweasel or by the terminal (with the command ftp) while listening on the ftp port with sudo tcpdump -vv -A 'port 20' or sudo tcpdump -vv -A port ftp ...
0
votes
0answers
1k views

FTP connection to Linux Mint: 550 Permission denied. Error: Critical file transfer error

I am using Linux Mint and Apache on my laptop as my own made web server. I can display the html file if I connect to the IP adress. I can display all files in my hard drive if I connect using ...
0
votes
1answer
3k views

LFTP mirror upload only non existing files to remote directory

Every 5 minutes some new files are downloaded via lftp to a local directory. I need to upload to another ftp only the non existing files. My script so far is: #! /bin/bash today=$(date +%Y%m%d) ...
13
votes
7answers
84k views

VSFTPD, 553 Could not create file. - permissions?

I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
0
votes
1answer
2k views

Configuring proftpd and mod_ldap.c query not working - any ideas?

I'm trying to get a ProFTPD to ldap auth on a Active Directory base. I still couldn't figure out what could be wrong with my configuration since, executing a ldap query with ldapsearch seems fine /...
3
votes
1answer
366 views

vsftpd conditional pasv_address (internal ip vs. external ip)

I have a vsftpd server setup that i'd like to be able to access with passive transfer from an external ip (use of my domain name) and also from my local network (192.168.1.x). Currently I have /etc/...
2
votes
0answers
61 views

ftp failing to retrieve directory listing

I'm trying to connect to my ftp server but I'm getting Status: Disconnected from server Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Status: ...
0
votes
1answer
894 views

HPUX logging ftp connection

Host is 11iV3. I am trying to log ftp transfert outside syslog.log in /etc/inetd.conf ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -u 022 -o -i -X where -i/-o tell ftpd to log ...
2
votes
1answer
49 views

Transfer Size limit for SCP, SFTP, RSYNC?

Is there a maximum size limit to the size of collective size of the files that are to be transferred in one go for the above protocol. My intent is to know if for example after 1 GB any of these ...
1
vote
3answers
1k views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
5
votes
1answer
2k views

Apache, Group Permissions and User Uploads

I have a folder named "digitalgoods" with the following ownership -- apache:apache residing outside of the htdocs folder and is therefore not accessible to the public. However I need the same folder ...
1
vote
1answer
48 views

apache dies when I FTP to server as that user

I have an odd one. A RedHat 7 server, with an apache server that runs just fine. I can start it with systemctl start httpd. Developers had me run it as a different user (intersys instead of apache). ...
2
votes
1answer
34 views

Why is wget ignoring some files in ftp transfer?

I am trying to deploy a WordPress website from a test server to a production server. wget seems to be an efficient solution for transferring lots of files between 2 servers via FTP. I connect to the ...
0
votes
0answers
43 views

vsftp and folder permissions weird behavour

I have setup an ftp server on a Centos6 machine using vsftpd. This service runs on a virtual box machine just for testing-demo purposes. My setup allows anonymous connections to the ftp server with ...
-1
votes
1answer
37 views

Debian, ftp user with access to /var/www

I want to have ftp user who have only access to /var/www and work on all of files, but the problems arise when I give permission to /var/www, exactly chown. I try with chgrp but then I cannot edit ...
1
vote
0answers
28 views

Copies to NFS server write to mount point, not to mounted drive

I have a drive mounted at /home/ftpuser/uploads, and the /home/ftpuser folder is also exported via NFS. FTP uploads to the uploads folder work as intended. If I unmount the drive, the files disappear, ...
21
votes
5answers
163k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
0
votes
0answers
39 views

Restrict Users to their home directory

I use WebMin/ProFTPD on my CentOS7 VPS. I already checked the proftpd.conf and it contains the line: DefaultRoot ~ !adm But when I create a new user they can access all on the server from the root. ...
0
votes
0answers
34 views

Vsftpd server will not create ftp user directory

When I try to login to my ftp server I get 500 OOPS: cannot change directory:/mnt/users/alex When I try to do the same thing with sftp I get packet_write_wait: Connection to 10.0.0.8 port ...
0
votes
1answer
62 views

Copy files from Linux Server to Windows - bash script

i am trying to automate a simple process, but i m new and stuck. I have a number of bash scripts that when ran, zip and move files to specific directories on the linux box. I want to create a bash ...
1
vote
1answer
88 views

Changing IPTables to Allow FTP over TLS Using Passive Ports

I am using Arch Linux. I followed a tutorial to change /etc/iptables/iptables.rules to allow only the basic ports for my web server. I also used /etc/modules-load.d/nf_conntrack_ftp.conf to enable ...
0
votes
1answer
3k views

Unable to start vsftpd service on CentOS 6.6

I have installed vsftpd ftp server on CentOS 6.6 with yum, But I can't start vsftpd service. When I run /etc/init.d/vsftpd start, I get Starting vsftpd for vsftpd: [FAILED] with no ...
5
votes
3answers
12k views

Is there a way to write a script to do ftp login so I don't have to type things over and over again?

I am recently working extensively with a remote system via ftp connection, since the session time is so short that I have to re-login quite often when I finish my work on my local machine, so I need a ...
0
votes
0answers
24 views

Need to fix user access on centos

I screwed up user permission for my account "yann" on a centos 7 server. I would like to have that user to access rw on all folder under /home to manage the webserver folders. Each top level folder ...
0
votes
0answers
20 views

FTP Transfers Dropped- 421 time out

I have a VM that is mounting two NFS servers, lets call them NFS-A and NFS-B. The VM will transfer a file from NFS-A to NFS-B and as it should the VM will be the middle man as the file transfer occurs....
1
vote
1answer
35 views

unzip/untar files using Curl in ftp server

In the curl command we can delete,rename and move files from a FTP server using Curl like in the command below: curl -v -u username:pwd ftp://host/FileTodelete -Q "DELE FileTodelete" Can we untar ...
4
votes
2answers
14k views

Why do I get kicked out of a FTP session once I run a command?

Why do I get kicked out of a FTP session once I run a command? It seems that once I successfully login into a server is get the following after running a command such as "ls" (I've enclosed the error ...
0
votes
2answers
156 views

How to check if ftp is installed in a linux server

I just want to know if a FTP server is installed on my server. It is a Red Hat Enterprise Linux Server release 5.8 (Tikanga). I tried running the below command and got connection refused : $ ftp ...
1
vote
1answer
201 views

Hide password ftp with the same user

I must connect to ftp to get some files occasionally. To do this I made a script. The problem is that the user is generic and all of my work uses this user in the local host, and the remote machine. I ...
9
votes
2answers
10k views

How can I create users with only remote ftp access on Linux server?

I'm running a Ubuntu 10.04 LTS server and I want to create users who can only access the server from FTP. What I did so far is: Install vsftpd Create new user with default login shell set to /bin/...
1
vote
3answers
9k views

How to access the Local FTP YUM repo from client Machine

I setup the FTP server on Machine A 192.168.1.105 and created the YUM repo. And placed following contents in it. #vi rhel-localftp.repo [rhel-localftp.rep] name=bla bla bla baseurl=file:///var/ftp/...
0
votes
0answers
15 views

Undeleted files on FTP

I have just deleted files from the my main server but they appear to be still present on the FTP server. Yet, there is a mirroring that is supposed to be done. The purged directory is empty, yet a '...
0
votes
0answers
65 views

Very slow download from FTP-site, must wait for control-connection to close between operations

I'm trying to recursively download some files and directories (some with sub-directories) from a FTP-site with wget, but it's turning-out to be a painfully slow process. It seems like I'm only able ...
1
vote
0answers
30 views

Quick command-line FTP server?

With newer PHP command line, I have a "quick" HTTP server - I simply go to a directory, and issue: php -S localhost:8000 ... and then that directory becomes "root" of a "webserver filesystem" being ...
1
vote
2answers
56 views

Upload files via FTP client from ftp:/remote-dir to ftp:/remote-dir

I'm using ncftpput to upload local file in my Linux server to FTP. Is there any way to do the same but move files\directories withing the FTP? As I've mentioned in the title? I do aware for the ...
0
votes
1answer
297 views

VSFTPD FileZilla GnuTLS error -15 (unexpected TLS packet was received)

I set up two new CentOS 7 boxes simultaneously, so the configurations should be identical, just different ip addresses and host names. I installed VSFTPD and configured for passive ports. One box ...
-1
votes
2answers
39 views

Why would a user not be able to delete a file they created

Reposting the question about deleting a file. We have a script that is used to transfer files between two SCO Unix systems. The script has been rock solid for years. Recently the firewall unit at ...
0
votes
2answers
72 views

Edit crontab without SSH access [closed]

I have Debian VPS and I gave FTP access to somebody, say John. I don't want to give John SSH access, but he needs to put tasks into crontab. What are my possible variants?
1
vote
0answers
54 views

ftp: Illegal PORT command with ls on Linux, but not OS X?

I'm getting strange errors with ftp on Linux (Arch, to be more specific, as part of the inetutils package). To be truthful, the reason I'm using the shell command is because all of my other clients ...
0
votes
0answers
70 views

Set vsftpd user to use specific folder only

How do I set a specific user to use only one folder? Problem is, it's a Windows share, mounted to /media/ftpshare. I want to create an FTP user who will access only that folder. I have tried to edit ...
1
vote
1answer
153 views

How to disable SFTP for a user, but keep FTP enabled

I've created a user called "ftp-acc" and limited it to a single directory using VSFTPD. When I login to the account in Filezilla using FTP, it is successfully restricted to a single directory. ...