The File Transfer Protocol

learn more… | top users | synonyms

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
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) ...
1
vote
1answer
18 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
2k 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
11k 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
12 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
14 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 ...
1
vote
1answer
15 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
13k 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
42 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 ...
0
votes
0answers
53 views

Issue with the ftp script [closed]

I am trying to run a script which ftp the files from one server to another. Below is the script - #!/bin/bash echo "Please enter no : " read variable echo "You entered: $variable" HOST=xxxxx ...
0
votes
1answer
797 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 ...
1
vote
1answer
181 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 ...
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 ...
8
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 ...
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
3answers
8k 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 ...
0
votes
0answers
14 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
31 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
22 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
46 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
68 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
64 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
38 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 ...
20
votes
5answers
151k 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
51 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
77 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. ...
5
votes
1answer
55k views

How can I create an SFTP user in CentOS?

I'd like to give temporary SFTP access to a support guy. How do I create an SFTP user? And how can I delete it once the job is done? Also, how do I specify a home directory for them? Can I prevent ...
13
votes
5answers
79k 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 ...
1
vote
1answer
823 views

Creating a proFTPd user

I'm setting up a proFTPd server so I can upload files to my webserver, but I've never tried this before. I've installed proftpd, added a user with a home folder: /home/FTP-shared and added /bin/false ...
0
votes
1answer
458 views

`lftp` does not connect to FTPS (ftp over ssl)

I have trouble in connecting lftp with ftps (ftp over ssl, not sftp!) server (FTP Server Ultimate (PRO version).) running on Android phone. Technical details: Linux part. Following : ...
0
votes
1answer
34 views

Login incorrect when trying to login to VSFTPD

I'm setting up a new linux server and have installed VSFTPD. I can login to FTP fine using the root user, but not using my new user "AMP". I'm using the same password I'd use to login as AMP in SSH so ...
0
votes
1answer
39 views

FTP script - upload several files with match local folders/ftp folders

I need to upload a large number of images from lots of local folder to ftp folders with other names. I have a CSV file with match between local and remote folder, such as: /local/folder/A, ...
1
vote
1answer
54 views

exit status of command is different when it is run via strace

I can normaly mount/umount FTP as file system using following commands: └──> curlftpfs -o codepage=windows-1250 anonymous:anonymous@192.168.3.13 /home/marek/ftpfs └──> ls /home/marek/ftpfs/ 1 2 ...
0
votes
0answers
88 views

ECONNREFUSED vsftpd on ubuntu 14.04

I am running vsftpd on my Ubuntu 14.04 server. I can easily connect to the ftp server when I'm on the same network and connect to it using its local ip. I use to be able to connect to it using my ...
3
votes
0answers
16 views

download rate limiting based on network usage

I have a Debian Wheezy (Open Media Vault) server with a few different downloaders working most of the time. (Primarily FTP) I would like to be able to adjust the download limits of this server based ...
0
votes
0answers
16 views

Trying to FTP from Remote to EBS server

I am trying to copy files from Remote server to EBS server but nothing is copying. I am using below code. Could anyone please help on this CONNSTR=${1} REQUEST_ID=${4} P_SOURCE_DIR=${5} ...
1
vote
1answer
33 views

Symlink to same directory

I've set up a ftp server for using ftp push on a tv recording page. I've created an extra user for this, who has only access to one directory, which the user is chroot-ed in. But the page does not ...
0
votes
0answers
34 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
vote
1answer
162 views

LFTP Script to Download Files

I want to write a lftp script that will download files every 15 minutes from a server every x amount of time. Can someone advise how i can do this? Thanks
1
vote
0answers
19 views

permissons on ftp'd files don't seem to match umask

I've read several postings indicating that ftp respects the user's umask. I don't see that that is the case. this is what happens on my server X when I FTP a file from SystemX, to SystemX. SystemX is ...
2
votes
4answers
5k views

FTP bulk download and rename

First of all: Why I'm trying this? Because we need to download some files AND rename to shorten ones with date "stamps". The remote files have really huge filenames and it's not an option to ...
2
votes
2answers
6k 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 ...
4
votes
2answers
3k views

Installing vsftpd on Ubuntu - could not bind listening IPv4 socket?

For my network security class I have to set up an FTP server on a virtual machine. We are set up with 3 VM's - Gateway, Client, and Server. I have installed vsftpd using the command: sudo apt-get ...
2
votes
1answer
68 views

Why doesn't FTP work through my ssh tunnel?

Computer A (assumed that ip is 44.44.44.44)can ftp the host 130.89.148.12. ftp 130.89.148.12 Connected to 130.89.148.12. 220 ftp.debian.org FTP server Name (130.89.148.12:debian8): anonymous 331 ...
1
vote
1answer
301 views

How to setup reverse FTP in RHEL?

Researched: http://www.thecave.info/export-proxy-username-password-linux/ http://stackoverflow.com/questions/5334110/text-based-ftp-client-settings-behind-a-proxy ...
21
votes
3answers
82k views

Iptables to allow incoming FTP

I want to allow incoming FTP traffic. CentOS 5.4: This is my /etc/sysconfig/iptables file. # Generated by iptables-save v1.3.5 on Thu Oct 3 21:23:07 2013 *filter :INPUT ACCEPT [0:0] :FORWARD ...
0
votes
1answer
141 views

Directory Contents Not Listed When Connecting To CentOS 7 VSFTPD

OS: CentOS 7 with VSFTPD with firewall turned off for the moment Client: Filezilla VSFTPD Configuration Settings: Used [root@Turbo ~]# vi /etc/vsftpd/vsftpd.conf anonymous_enable=NO ...
0
votes
0answers
26 views

VSFTPD and ability to write to root

I successfully implemented VSFTPD on CentOS 7, however I would like to know if it is possible to write to the root. Here is a fragment of my VSFTPD configuration file. [root@Turbo media]# vi ...