The File Transfer Protocol

learn more… | top users | synonyms

2
votes
2answers
2k views

Permissions for FTP directory: Inherit directory owner

I am making multiple folders for users (userA/, userB/, etc.) where anyone can create/read a file/folder in any directory (userC can make fileX inside userA/). However, only the directory's owner can ...
3
votes
1answer
3k 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) ...
4
votes
1answer
6k views

How do I use implicit FTP over TLS

using any FTP client (I'm on Ubuntu 12.04 and tried using lftp), I want to be able to make an implicit TLS connection on a FTP server, but I can't quite manage to successfully connect(All I get is : ...
0
votes
0answers
148 views

Checksum on Network drive is really slow

I want to check if a bunch of files have copied without problem to a network drive. I am not able to ssh to the network drive, but I am able to mount it using FTP. The number of files is about 220, ...
0
votes
1answer
821 views

How can I write ftp command for a file transfer from one server to other?

How can I write ftp command for a file transfer from one server to other with a simple script?
2
votes
2answers
116 views

Remote access SSH problem

I have been asked to setup a lab with 1 PC (fedora 18 OS) and 4 SGI (IRIX 6.5 OLD OS). I am using a switch to connect them to university's network, and I asked tech guys to assign static IPs to them. ...
8
votes
5answers
6k 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 ...
1
vote
1answer
181 views

Enable previous command cycling at ftp prompt

Currently on pressing arrow keys or Ctrl+P/N, I see characters like ftp> ^[[A ftp> ^[[B ftp> ^P ftp> ^N I would like to know, how to configure the ftp prompt so that I am able to view ...
2
votes
1answer
2k views

Ksh Script to ftp multiple directories simultaneously

I'm new to this site and i have this problem: I have a directory in unix with multiple directories in it. Each directory have around 5k files in it. So we are talking about 40k to 50k files. I need ...
1
vote
2answers
626 views

In FTP, can I specify a remote directory using `~username` syntax?

I know the ftp username, password, and directory of the source. I just want to download the whole thing to a new server. Simple download. The username is not root. So I wonder how I would specify ...
1
vote
0answers
176 views

vsftpd on Ubuntu not obeying filesystem permissions

I'm trying to set an FTP upload to a web root on Ubuntu 12.04 using vsftp. The user has a local account, username_ftp. I changed their home to their web root in /etc/passwd. ...
5
votes
1answer
2k 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 ...
1
vote
2answers
2k views

proftpd does not change default group for new files

I am Trying to configure ProFTPd to change group for newly created files/directories. In my config I have this: <Directory /home/*> GroupOwner www </Directory> Which does not seem to ...
3
votes
1answer
2k views

unable to connect ftp in pasive mode

I'm try to connect to ftp which I've just configured but using FileZilla, I'm getting the following logs Status: Connecting to x.x.x.x:21... Status: Connection established, waiting for welcome ...
0
votes
1answer
539 views

How to install FTP server on Red Hat VM?

I have a windows machine and I need to transfer files from my machine to another Linux virtual machine which I have created. How do I install a FTP server on those VM's to transfer files via FTP ...
3
votes
2answers
4k 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
2answers
4k 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 ...
0
votes
6answers
3k views

How to upload tcpdumps in realtime to FTP?

I can do tcpdumps with this command: tcpdump -w `date +%F-%Hh-%Mm-%Ss-%N`.pcap src 10.10.10.10 or dst 10.10.10.10 Q: I have an FTP server with username: FTPUSER and password FTPPASSWORD. How can I ...
3
votes
1answer
3k views

How to ensure that anonymous FTP has been disabled on a Solaris 10 system?

What line in which configuration files in the /etc/ftpd directory do I have to check to ensure that anonymous FTP has been disabled? From my understanding now, to ensure that anonymous FTP is ...
1
vote
0answers
623 views

ftp server log to include more information

I am implementing the ftp server on linux box (fedora 11, vsftpd). Everything works good so far but i need Ftp server log files to contain transfer rate information. At the moment when I use "get " ...
1
vote
2answers
853 views

Two exact copies of folder using FTP and command-line only

I'm looking for any solution that will allow me to emulate functionallity similar to Dropbox/rsync using only FTP protocol and command-line. The general problem is, that I have to run it on a very ...
4
votes
2answers
2k 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 ...
2
votes
4answers
3k views

I uninstalled vsftpd, but I can still connect with sftp

I installed vsftpd and was in the process of configuring it. When I sent the vsftpd server stop command: sudo service vsftpd stop I received: stop: Unknown instance So I went ahead and ...
2
votes
1answer
498 views

affordable cloud space for a duplicity backup? [closed]

I'm searching for around 1TB of cloud space for backup using the Unix/Linux duplicity backup tool? Are there any recommendations?
1
vote
1answer
308 views

FTP Upload Hook [duplicate]

Possible Duplicate: How to run a command when a directory's contents are updated? I need to be notified and perform other tasks when a file is uploaded onto my server. Is there any ...
5
votes
1answer
632 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 ...
1
vote
2answers
311 views

How to Download from an FTP site

I am using: SCO_SV scosysv 3.2 5.0.7 i386, and I am trying to download ssh and install it. But the only way I can do it, is by using FTP. I have tried the following: # ftp ftp> ftp2.sco.com ...
3
votes
2answers
351 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 ...
1
vote
1answer
422 views

What is the easiest way to set up a FTP server single signon pointing to /var/www?

I've tried following numerous tutorials found on the net. The setup always starts out simple like sudo apt-get intstall vsftpd and then goes into edditing the /etc/vsftp.conf file. This is where ...
1
vote
1answer
834 views

Hiding files on FTP server

I have an Ubuntu server and I run an FTP server on it. I changed its folder structure and want to restrict access of users to some of the files not all of them in a way that other files be hidden to ...
3
votes
0answers
222 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 ...
1
vote
1answer
669 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 ...
10
votes
5answers
11k 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 ...
0
votes
1answer
603 views

Create a fake shell in Linux?

I am not talking about shell programming or making a whole new shell like Bourne or Korn Shell.... I just want a user accessing ftp through port 21 to be directed to this shell which can support some ...
2
votes
0answers
304 views

vsftpd: Passwordless authentication to different directory

I am configuring a vsftpd server and the requirements are: I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done) I ...
1
vote
4answers
3k views

Remove directory in ftp

This is probably very simple, but I really can't get it to work. I have an old directory with a symlink in it. I need to delete the directory, but it says it is not empty when I try: rm -f dirname ...
0
votes
0answers
359 views

VPS not replying on ftp port 21 using pure-ftpd

There is no response from my VPS when I connect to the ftp service on port 21. It's a Linux server with kloxo and pure-ftp. I have been using it without troubles from past 8 months. I installed ...
2
votes
1answer
985 views

How to add folder to existing user [proftpd]

As we know we can add folder to user using useradd user -p user_passwd -d /home/ftp/user_dir/ -s /bin/false but how to add folder to existing user, for example /home/ftp/root for root ?
1
vote
2answers
306 views

How to ensure users can’t login to the system except with FTP? [closed]

How can I ensure that users can't login to the system except with FTP?
1
vote
1answer
662 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 ...
1
vote
1answer
710 views

How to limit ftp access to multiple places for one user

I don't even know how to write the correct question since it is a little confusing to ask it. Here is the problem. User X would like FTP access to /user/x folder and to /var/www/x folder. How can I ...
0
votes
0answers
318 views

debian lenny ftp not working?

I've installed ftp in my debian lenny virtual server with apt-get install ftp and it uses the archive ftp_0.17-18_amd64.deb. But when I type ftp command into my shell there isn't any response? When I ...
1
vote
1answer
1k views

How to delete the oldest file over FTP using CURL?

I am trying to write a script that will use CURL to FTP to a folder on a file server, then count the files in that folder. If there are more than 5 files, delete the oldest one. I know how to delete ...
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.
3
votes
2answers
7k 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 ...
9
votes
3answers
5k 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, ...
2
votes
3answers
1k views

Does “226 Transfer complete” guarantee the consistency between local and remote files when using ftp?

I have some automated scripts which perform FTP uploads among other things. I'm wondering what level of error checking I should conduct once these uploads have finished executing. Could anything go ...
3
votes
2answers
895 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 ...
0
votes
1answer
371 views

SSH, FTP, HTTP stopped working

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 ...
0
votes
0answers
670 views

vsftpd filezilla timout error

I have an vsftpd setup. When I try to upload a large number of files, a lot of files fail with a timeout error. After some analysis, I saw this pattern as follow before every error, but I don't know ...