The File Transfer Protocol

learn more… | top users | synonyms

1
vote
1answer
19 views

Allow ftp out through iptables

I have been having difficulty allowing ftp through iptables. Right now my ftp looks like this. Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp ...
1
vote
0answers
14 views

Centos 7 FTP Hidden Directory Issue

After setting up Centos 7 with a web server standard install and LAMP stack. I installed vsftpd. Everything works fine and configured it to accept passive to enable gui ftp programs. However, when ...
0
votes
2answers
39 views

How do I run find, maxdepth and other commands on lcd while using ftp?

I have got the command working locally using normal commands. I now need it to run while using ftp. I understand I need to use '!' And instead of copy I will need to use put so it works on the lcd, ...
0
votes
1answer
43 views

Set home directory of a user to root?

I would like to set the home directory for ftpuser to root. That's my command: # adduser ftproot -shell /bin/false -home /var/www What is the directory term for root?
0
votes
0answers
61 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 ...
1
vote
2answers
42 views

FTP: get the latest file in sever

This is really really pain in the ass. I have a ftp server running, and it irregularly generates the latest file. The file is store as: Home->T22:30:10->new.txt, and the latest one would be (a new ...
1
vote
0answers
26 views

FTP: Removing an entire directory

Is there any way to delete a non-empty directory in Linux using FTP? I am using client, and I wish to delete the directory in a remote server. I have looked into wget and curl. What do you guys ...
0
votes
0answers
51 views

Restrict FTP user to access only its own directory and Download Only

I need to create a user which can only FTP to specific directory and download data from it only no upload or delete files. After searching on line I reached to following points useradd -g 10 -d ...
5
votes
2answers
392 views

How can I download a file from a FTP server, then automatically delete it from the server once the download completes?

From the command line, I want to download a file from a FTP server. Once the download completes, I want the file to be deleted on the server. Is there any way to do this? Originally I considered ...
0
votes
0answers
24 views

gFTP - Received File Is (Allegedly) Larger Than Original!

I am using gFTP to transfer a large gzip file (the gFTP window says it is ~3.7GB). However an hour after saying it the transfer was 99% completed and had 00:00:00 time remaining and says the received ...
0
votes
1answer
23 views

Hide password ftp with the same user

I must connect to ftp to get some files occasionally. To do these I make a script. The problem is that the user is generic and all of my work use these user in the local host, and the remote machine I ...
2
votes
1answer
24 views

How can I connect and upload to this FTP host on the console?

A vendor has provided these FTP connection params so I can upload some data for them... Host: host.com Port: 46800 Protocol: FTP – File Transfer Protocol Encryption: Require implicit FTP over TLS ...
0
votes
2answers
52 views

Why doesn't wget -r get all FTP subdirectories?

When I did the command : wget -r ftp://user:paswword@ftp.xxxx.ovh.net/ It's missing any sub-sub-directories. Does recursive FTP have a limit?
1
vote
1answer
371 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
0answers
50 views

Testing outgoing FTP with fake data

I would like to implement a fake FTP transfer in a program I'm working on. Basically I just want there to be FTP traffic happening in the background for a variable length of time. Similar to how iperf ...
0
votes
0answers
125 views

How to allow an FTP account on an SFTP server

I connect to my server via SSH for a user called 'ubuntu'. It needs a private key to connect and the same goes for the same account via FileZilla. I'm currently setting up a server block with nginx ...
0
votes
2answers
52 views

How to meter FTP upload progress in telnet

I'm working on a script using telnet to connect to an ftp server and dropping a big file on it. Because of the environment of the project, I need to use ftp and cannot rely on other techniques like ...
0
votes
1answer
17 views

What should file permissions be set to in order for an FTP editor to work?

I installed git on my server and cloned my development repository using the root user. The permissions appeared to have been set to: Files: -rw-r--r-- Directories: drwxr-xr-x I previously had ...
0
votes
1answer
43 views

Unable to delete files via FTP?

I have a couple of FTP users who can access my (pseudo) server running vsftpd under Mint Linux. They are restricted to a specific directory and below via chroot(). Whilst they can access the files ...
2
votes
1answer
60 views

Is it possible to mount a subdirectory in ftp server via curlftpfs

Currently I'm running this command: curlftpfs user_name:password@hostname ~/mnt/sitename It mounts the contents of main ftp dir on server to ~/mnt/sitename. But on server I need to open public_html ...
1
vote
0answers
106 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 ...
0
votes
0answers
78 views

[Solved]No problem connected by filezilla, but cannot get list when connected by linux CLI client

I built FTP server by VSFTPD, on Raspberry pi, and Inside NAT. Surely set port-forwarding and, it perfectly functional when I connected by filezilla. But, I can't execute LIST(dir) when I connected ...
0
votes
0answers
67 views

DNAT forwarding for FTP: No route to host

I have a single public IP for multiple VM, i need forward multiple ports for FTP service, i write these lines: iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 20:21 -j DNAT ...
1
vote
1answer
77 views

Super-slow LAN speed, unless downloading through Chrome's FTP client [closed]

I have connected 2 PCs using ethernet cable and set up FTP on one of them to transfer some >100GB of files. However, trying to download it, I run into a problem of speed not more than 50kB/s. It ...
1
vote
1answer
27 views

(Pure FTP) FTP User login directory

I've installed Open Panel, which seems to ship with Pure FTP server. I added a linux user ftpuser, and now I can log in with it. I'd like to specify a directory to which this user starts with when it ...
0
votes
0answers
34 views

how to change vsftpd user home directory to another machine directory with another os?

I have a ftp server(vsftpd) on linux distro and i want to change root directory of specific user to another directory, this directory lived on another machine with windows server on os, Is this ...
0
votes
0answers
111 views

How to configure a new FTP user with access to only a specific directory?

I have already looked at similar questions regarding this but whatever I do, the new user is logged in root directory showing all available files & folders. I simply don't know what I'm missing to ...
1
vote
1answer
22 views

File permissions on uploaded files

This is hopefully a simple question. I have a VPS set up running LAMP and accepting FTP connections. the only problem with my setup at the moment seems to be that apache is denied access to uploaded ...
1
vote
1answer
137 views

Controlling ftp access with vsftpd

I'll preface this with the fact that I'm a bit of a newb with linux and especially with vsftpd. However, I had it set up such that I was able to upload files to a VPS I set up. The only problem is ...
3
votes
3answers
227 views

Speeding up Recursive FTP

I'm attempting to download a year's worth of data from an NOAA FTP Server using wget (or ncftpget). However, it takes way longer than it should due to FTP's overhead (I think). For instance, this ...
1
vote
1answer
129 views

Creating FTP User who doesn't get 403 on created folders/files - Ubuntu

I've got an Ubuntu 14.04 server running apache2 If I SSH in, I can create a directory and files in /var/www/html and they are served appropriately. If I FTP in with a user I setup (whose 'home' I ...
1
vote
0answers
46 views

Is it possible to edit vsftpd.conf giving ftp access to an user to only a few directories inside the server?

I want to know if a user can access multiple directories in a ftp server and no other directories. I want access to more than 1 directory. I know how to restrict access to a single directory by giving ...
1
vote
1answer
65 views

how to know on my linux machine if connection VIA sftp is active

I have Linux machine red-hat 5.X please advice - which what command I can identify if someone is tiring to copy files from my machine VIA sftp or ftp is it possible to verify this on my Linux machine ...
0
votes
2answers
77 views

How to upload a file from a Unix server to a network drive using Putty?

I want to upload a file from a Unix Server to a network mapped drive using Putty. Now the Network Mapped drive (in Windows) holds an address something like \......... and is named MyDrive I have been ...
7
votes
3answers
491 views

in Bash, how to not include extra arguments in an alias?

I am trying to do something like alias ftp='echo do not use ftp. Use sftp instead.' just so that ftp will not be accidentally used. But I noticed that ftp abcd.com will cause the command to ...
0
votes
1answer
57 views

proftpd conf on debian

Iam new to linux / debian Im trying to configure an ftp server in debian using proftpd. I installed the package A user is created when it is installed I put a password to this user and it is working ...
1
vote
1answer
176 views

Sh Script using ftp to put a list of files

So my Script looks something like this: #... files="$(find $line/processed/* 2>/dev/null)" #2>/dev/null used for error output suppression if [[ ! -z "$files" ]] then ...
0
votes
1answer
1k views

centos folder permission ftp user and apache

I have some folder, need anybodies php scripts can create sub folder/files and unlink files. I do sudo chown -R apache:apache /var/www/public_html/a But after that, my ftp user cannot upload files ...
3
votes
1answer
282 views

how to transfer files between two ftps

I need to transfer files from my ftp to another, is there any tool to put two access and I transfer from one to another without downloading the files to my machine?
0
votes
0answers
136 views

Scheduled job to move files from web server to NAS

I have a website hosted on a shared server. Once a week a cron job runs on the web server to tar the www folder and export the MySQL database to a password protected backup folder. I have a Synology ...
1
vote
1answer
58 views

Return code is always 0 after running echo “\$ macroName ” | ftp -i mymachine

I cannot seem to retrieve a non-zero return code when calling the ftp macro. It doesn't matter what errors are encountered during the ftp macro execution e.g. directory doesn't exist, file doesn't ...
1
vote
1answer
50 views

Forward every port depending on domain

A friend and I are doing some little webhosting for us. Currently all the pages are running on one Server via Apache2's virtual hosts. Know we wanna make single servers for each site with ssh-access, ...
1
vote
1answer
202 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
730 views

Grant FTP access to specific directory

I have setup CentOS on a box on my local network and installed httpd, PHP, Webmin (and UserMin) etc. I opted for ProFTPd and have opened up ports for FTP, Webmin and Apache. I can now access Webmin ...
2
votes
0answers
221 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
2
votes
1answer
137 views

Writing to an interactive prompt

I’m using the ftp command line tool and want combine scripted input with user input. With only user input the prompt looks like this: ftp> But when I try to insert some input with a script, like ...
0
votes
2answers
172 views

keep script running while screen is locked for a long time

I have a script that is running on my computer. The script is written in PHP under my XAMP server. It actually is reading some files from a remote FTP server and after processing them writes them back ...
0
votes
0answers
27 views

How to set a different directoy for a FTP folder in FreeBSD

I am kind of new to FreeBSD and the idea is to set up a FTP server with specific users. I have created the users but I don't want to use their home directory to store the uploaded files. I want to set ...
2
votes
0answers
1k 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 ...
1
vote
1answer
310 views

FTP “put” not copying file to remote host when ran from shell script but copies the file to remote host when ran manually

ftp -n ${FTP_HOST} << STOP user ${FTP_USERNAME} ${FTP_PASSWORD} binary lcd ${FTP_FROM_DIR} cd ${FTP_TO_DIR} put ${reportFileName} STOP That is my code which is not ...