The File Transfer Protocol

learn more… | top users | synonyms

0
votes
1answer
13 views

Setting up FTP Server (Passive) vsFTPd CENTOS7 issue

I'm actually having error on this setup. I'm getting 500 Illegal PORT command. 425 Use PORT or PASV first when go using command PUT. I'm currently using CENTOS 7.2 Here's my vsftpd.conf: ...
5
votes
4answers
19k views

Restrict FTP user to a directory

Sorry if this is an obvious question, but I don't have a lot of knowledge about this sort of thing, and I've googled for hours, nothing worked. So on a Ubuntu 11.04 server, I want to restrict a user ...
0
votes
0answers
26 views

keep data in 4 digit in array or make data in 4 digite with out using printf, in sheel [on hold]

I need to download a lot a stuff from ftp, so I made a loop with array for the name of each file. The thing is the number from the array can not show as 4 digit, which the file name is (like 0030). I ...
0
votes
0answers
14 views

ftp cmd from redhat machine to SUSE11 machine giving error as “Temporary failure in name resolution”

I use below cmd inside script and running in the redhat machine, it is trying to ftp the files from SUSE11 machine. But i am getting error as "Temporary failure in name resolution" [root@linux28_38 ...
1
vote
1answer
812 views

vsftpd - ftp user cannot create folders

CentOS - I have created an ftp user that can log in remotely over the internet to the vsftpd server. Now I can log in via ftp, see all the directory listings (not limited/jailed) to any directory, ...
2
votes
3answers
7k views

Installing vsftpd - 500 OOPS: could not bind listening IPv4 socket?

I have to set up a FTP server on my machine. I have installed vsftpd using the command: sudo apt-get install vsftpd I then edited the configuration file vsftpd.conf in the location /etc. The file ...
0
votes
2answers
30 views

When FTP Requires FTP over TLS is it FTPS?

After reading through this tutorial I still have a persistent question. In the beggining of the article the writer says: Warning: FTP is inherently insecure! Consider using SFTP instead of FTP. ...
0
votes
1answer
17 views

What does pasv_enable and related field s mean in vsftpd.conf

I just installed vsftpd according to these directions. I am trying to get ftp working on my Ubuntu box that is using Amazon AWS. When I first tried this directions, it did not work. I was trying to ...
1
vote
4answers
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
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 ...
1
vote
0answers
42 views

Why do I get different results during ftp communication when using ls filename and ls./filename

I am connecting to a proftd server as client and try to list files. I use ls command with two different parameters: ls filename ftp> ls test.txt 229 Entering Extended Passive Mode (|||41257|) ...
0
votes
0answers
13 views

Uploading files to vsftpd stuck at 100%

I'm using filezilla and when I try to upload file using WAN, I get the following: Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying ...
-1
votes
1answer
26 views

System Backup Over FTP Server

I am having a device running 3.0.9 GNU/Linux version which I am accessing over the ftp protocol. I want to create a system backup of that device provided it has only the basic utilities installed and ...
-1
votes
2answers
35 views

check ip address of a linux server to upload the file [duplicate]

I am working on a linux server remotely. Are there any command that can allow me to figure out the IP address of this linux server, so that I can ftp some files to this server.
1
vote
1answer
950 views

Permisions overwritten when files are transfered via FTP. What to do?

Got my web server up and running using apache2 with the ability to ftp to /var/www folder. However, if I make an update to .html and copied over the file via ftp, the file's permisions become more ...
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 ...
0
votes
1answer
962 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 ...
0
votes
1answer
588 views

SSH, FTP, HTTP stopped working [closed]

I'm facing a problem with a Linux webserver of mine. It's a VM Ubuntu 10.4 LTS which runs a Wordpress network site. Out of the blue with no changes being made on the back end, ftp has stopped as has ...
1
vote
1answer
38 views

Proftpd doesn't answer to “PASV” command

I've been trying to configure my FTPS server which is behind NAT. so I've opened ports 20, 21 as well as 2120-2180 in my NAT (TCP+UDP) and configured proftpd to use this ports for passive ...
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 ...
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
256 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
1answer
35 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
0answers
35 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
18 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
33 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) ...
14
votes
7answers
87k 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
3k 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
380 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
115 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: ...
2
votes
1answer
78 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 ...
5
votes
1answer
3k 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
59 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
41 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
46 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
43 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
32 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
171k 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
41 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
49 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
158 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
110 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
27 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
27 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
47 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 ...