The File Transfer Protocol

learn more… | top users | synonyms

9
votes
3answers
4k views

How to perform GREP on FTP?

I tried searching for similar command in ncftp (actually this is the only terminal ftp client I used) and I didn't find it. What's the way (if possible at all) to use grep command on remote server, ...
9
votes
4answers
28k 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 ...
8
votes
5answers
8k views

Why does SCP hang on copying files larger than 1405 bytes?

I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp ...
8
votes
5answers
4k views

Easiest way to duplicate directory over FTP

I want to duplicate a directory on an FTP server I'm connected to from my Mac via the command-line Let's say I have file. I want to have files2 with all of file's subdirectories and files, in the ...
8
votes
2answers
3k views

User can't touch -t

When SCP'ing to my Fedora server, a user keeps getting errors about not being able to modify file timestamps ("set time: operation not permitted"). The user is not the owner of the file, but we cannot ...
7
votes
2answers
12k 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 ...
7
votes
1answer
350 views

ftp and shebang

Is there a way to shebang-ify ftp and write small ftp scripts? For example: #!/usr/bin/ftp open 192.168.1.1 put *.gz quit Any thoughts?
7
votes
2answers
30k 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 ...
6
votes
1answer
5k 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 ...
5
votes
4answers
6k views

FTP client with a good GUI?

I love linux because I get control over my system. But I do herald from the school of mac, where things are simple, beautiful, and powerful. I like it that way, as opposed to having lots of knobs and ...
5
votes
2answers
225 views

How can I parallelise the upload of a directory by FTP?

I need to upload a directory with a rather complicated tree (lots of subdirectories, etc.) by FTP. I am unable to compress this directory, since I do not have any access to the destination apart from ...
5
votes
2answers
316 views

Search/grep ftp remote filenames

I have already seen How to perform GREP on FTP? - that question implies that a grep in the remote file contents is needed; and as such, the answer is that the ftp protocol does not support that ...
5
votes
1answer
153 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 ...
5
votes
1answer
547 views

Cannot FTP more than 5791 bytes

On my home Kubuntu 11.10 machine I have discovered that I cannot upload via FTP any single files that is larger than 5791 bytes. I have tried to two different FTP servers (not anonymous rather my ...
5
votes
4answers
304 views

Allowing rename but not moving to other directory

Users can upload/delete/rename files via vsftp server and everything works well except they can also move files across directories. Is it possible to allow renaming of files but disallow moving them ...
5
votes
1answer
308 views

File permissions issue with webserver and ftp server

I have a question concerning permissions. I'm running lighttpd and a ftp server. I want to add a ftp user that is able to upload files to /var/www, which then are viewable in a browser. What is ...
4
votes
1answer
1k views

What is the use of literal command in ftp?

Browsing through FTP help (i.e. ftp> ?), showed me a command name literal, description of which is ftp> ? literal literal Send arbitrary ftp command I tried to do some trial and ...
4
votes
2answers
1k views

How to override port settings when connecting to a public wifi?

I am connecting to a free public wifi, I want to connect or use other ports like FTP and SSH. What are the possibility to override it? In order to connect to the internet, They are requiring me to add ...
4
votes
1answer
418 views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
3
votes
3answers
1k views

Copy files without encryption (ssh) in local network

scp works well in all cases, but the Raspberry Pi is to weak to copy files efficiently in a secure environment (lan). The theoretically possible 6,75 MB/s via 54 Mbit wireless lan shrink down to about ...
3
votes
2answers
5k views

Automate file transfer from Windows to Unix

I have the following situation: users update csv/txt files on daily basis on Windows. I use those flat files as input for my Oracle scripts which is on Unix. I need help on script/method of ...
3
votes
2answers
15k views

vsftpd - Limit FTP access only to /var/www

I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user. I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish ...
3
votes
2answers
221 views

How Do I Block Read Access to a Symbolic Link?

I have this file structure: > APPLICATION 1 >> CONTROLLER (@JuniorProgrammers) >> MODELS (symlink to SHARED/MODELS) >> VIEWS (@Designers) > APPLICATION 2 >> CONTROLLER ...
3
votes
2answers
842 views

pure-ftpd floods /var/log/messages

My /var/log/messages is full of messages like: Jan 29 01:00:02 vm2147 pure-ftpd: (?@::1) [INFO] New connection from ::1 Jan 29 01:00:02 vm2147 pure-ftpd: (?@::1) [INFO] Logout. Jan 29 01:05:02 vm2147 ...
3
votes
2answers
660 views

Is it possible to transfer files in a date range via FTP

I need to transfer a large number of files from an FTP server to a new server. There could be thousands of files so I would like to limit it to files that were uploaded in the last three months - is ...
3
votes
2answers
7k views

vsftpd does not list content of a directory

I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
3
votes
1answer
159 views

* not interpreted in ftp, lftp?

I'd been seeing that * isn't interpreted on ftp or lftp. Suppose I want to change a directory from current to say ./japan In ftp> of lftp>, if I give: $ cd jap* it would show this error: No such ...
3
votes
2answers
764 views

FTP issues after installing DD-WRT

I have recently installed DD-WRT on my D-Link DIR-615 router (rev. D3). Everything seems fine but I cannot connect to some (most) FTP servers anymore. Any ideas what can cause this issue? -- ...
3
votes
1answer
2k views

Is there any FileZilla Server alternative (GUI based) in Linux?

I'm wondering is there any alternative to FileZilla server in Linux? I'm looking for a server with GUI manager which offers nearly zero configuration so I can run and manage FileZilla server within ...
3
votes
2answers
301 views

Incrementally backup FTP to local computer

I want to backup a FTP directory (not backup to) with a cron script running daily. I'd prefer a solution that could sync the FTP to my local computer; only copy files changed and remove files that ...
3
votes
1answer
1k views

How do I know that FXP is enabled or not? (AIX FTPD)

# grep -i ftp inetd.conf ftp stream tcp nowait root /usr/sbin/ftpd # oslevel -s 6100-06-05-1115 So I have an AIX 6 server. How can I check if FXP is enabled on the FTPD or ...
3
votes
2answers
4k views

How to check disk usage in ftp?

Is there a way to sum up the disk usage of a certain directory while in ftp? I was trying to create a script that will check what is the disk usage of the current directory and prints out the free ...
3
votes
1answer
652 views

Set visible directories for SFTP access?

I am setting up SFTP access to one of my machines running Linux with the Dropbear SSH server. When I SFTP onto the machine remotely, I can see the entire filesystem on it, even if I might not have ...
3
votes
1answer
28 views

How do I enable rsync in libcurl?

I'm on Arch. When pacman tries to download a package from an ftp server, It fails with the error message Protocol rsync not supported or disabled in libcurl This has been bugging me for a little ...
3
votes
3answers
2k views

A secure way to confine FTP login users to a single directory

I needed to provide multiple users FTP logins, some able to write, some only to read, to a single FTP root directory. I very much wanted that they not see of the file system anything above that ...
3
votes
1answer
2k views

pureftpd - login authentication failed

I am on openSUSE 10.2, using pure-ftpd v1.0.21 I've added new virtual user, but I cannot connect (password is ok) Output of verbose log: Apr 10 17:10:35 hostzzz pure-ftpd: (?@xxx.yyy.zzz.uuu) ...
3
votes
2answers
3k views

How to limit ftp speed

I have multiple user on a server, they upload and download their file through FTP, sometimes some heavy transfer make high load on server, I am wondering is there any way to limit ftp speed to avoid ...
3
votes
1answer
3k views

Default File Permissions - Ubuntu & VSFTPD

I have a server setup with Ubuntu, Apache2 and VSFTPD. We virtual host several sites on this machine. Typically, I use the same process to set up the new sites, but the default permissions for some ...
3
votes
2answers
3k views

getting 553 - cannot create file in vsftpd (ubuntu 12.04)

I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser I've set up the account with username 'myuser' in Linux with the adduser command. After that, I've ...
3
votes
0answers
185 views

Will a account get locked while logging in FTP mode to a remote server whose password has already expired in UNIX

I have a FTP user id to a remote server, the password for which has expired.The account is getting locked if connection is being made in FTP mode to the server with the old(expired) password. Is ...
2
votes
4answers
1k 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
2k views

How to loop through each file in FTP directory using a bash script [duplicate]

Possible Duplicate: How to delete the oldest file over FTP using CURL? I need to connect to a remote server using a bash script and then delete all files within the directory that are older ...
2
votes
2answers
1k views

I need to transfer a very large folder over FTP, without creating a file first

I am running an Amazon EC2 instance that is limited in disk space. I have a very large folder that I need to FTP to my local machine, preferably without creating an intermediate tar file, since there ...
2
votes
2answers
807 views

Puzzle: transfering files between two servers (ssh, ftp, http multipart…)

A puzzle: files being uploaded in realtime by SCP to SERVER1 need to be transfered to SERVER2. But: SERVER1 doesn't actually have network access to SERVER2 (NAT), however SERVER2 has SSH access to ...
2
votes
1answer
381 views

A local, centralized, secure way to store FTP login data, including passwords

I want to be able to store the login details all of my remote FTP accounts in one place, securely. Then I'd like clients like autofs/curlftpfs, Filezilla, etc to use this one store of passwords. I'm ...
2
votes
2answers
2k views

How to make tar save the archive on a remote machine using sftp or ftp?

I would like to backup some of my very important data on a remote machine. Currently I'm just saving it to my local machine by using this command: tar -cvjf ~/backups/Backup.tar.bz2 ~/importantfiles/* ...
2
votes
2answers
1k views

Is there any ftp command to resume upload?

Oh! with my slow net connection, I am badly stuck. I was uploading a video file from local box to remote one via ftp. But net failed.I know there is a command named reget to resume download but Is ...
2
votes
1answer
2k views

How can I queue up an entire directory for FTP?

Currently I know how to do this: curl -T file.zip ftp://server.domain.com/ --user username:password Which will let me do a single file. However I can't figure out how to do it for a directory. I ...
2
votes
2answers
3k views

What is a reliable way to automate FTP upload of 'the newest file in directory X'?

I have this folder full of files. Once per day, I want the newest of the files to be FTPed automatically to a file server.
2
votes
4answers
12k views

vsftpd fails pam authentication

Moving a tried-and-true vsftpd configuration onto a new server with Fedora 16, I ran into a problem. All seems to go as it should, but user authentication fails. I cannot find any entry in any log ...