The File Transfer Protocol

learn more… | top users | synonyms

2
votes
1answer
910 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
1answer
628 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 ...
9
votes
4answers
33k 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
0answers
309 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
716 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 ...
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.
1
vote
2answers
299 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?
3
votes
2answers
6k 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 ...
2
votes
4answers
14k 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 ...
0
votes
1answer
380 views

FTP files from one remote server to another

I am trying to find out how I can transfer files from one directory/server to another directory/server? What I need to consider is that I should transfer files that are created TODAY only. i.e. the ...
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
2answers
4k views

FTP over SSL in AIX (UNIX)

Folks over at SO couldn't answer this, so I am posting over here. I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
1
vote
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
748 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
350 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
617 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 ...
1
vote
0answers
154 views

FTP server - directories

I have been playing around with several ftp servers and can't get the configuration I want. I want to allow both anonymous and standard user login, user logins are fine with the default pure-ftpd ...
1
vote
0answers
258 views

Unable to connect by FTP to a Debian AWS server (ami-aa46b4c3)

I've launched an AWS instance with the image debian-6.0-squeeze-i386-server-20110323 (ami-aa46b4c3) and I am trying to set up a FTP server. I have tried several ftp servers but nothing seems to work. ...
3
votes
2answers
8k 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
2answers
893 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 ...
1
vote
1answer
731 views

How to configure mounted FTP connection

I'm using latest CentOS with Gnome, and using bookmarked FTP connection, that connects to my server, and mounts remote directory. The thing is, I see no way to configure that FTP client, whatever 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 ...
2
votes
2answers
1k views

Filezilla: GnuTLS error when using FTPES

Response: 220-This is a private system - No anonymous login Response: 220 You will be disconnected after 60 minutes of inactivity. Command: AUTH TLS Response: 234 AUTH TLS OK. Status: ...
1
vote
1answer
4k views

Use configuration file for ftp with auto login enabled upon initial connection

I would like to so the same thing like in SSH where you can save the server in the config file. I would also like to save my username and password, so that it is not prompted each time I connect. I ...
0
votes
6answers
2k 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 ...
5
votes
1answer
344 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 ...
1
vote
1answer
3k views

How to get the timezone of a FTP server?

With lftp, when I do ls I get the listing of the files on the FTP server, with their date. However, the timezone is not displayed. On my local machine, I can do ls -l --time-style=full-iso to see ...
2
votes
1answer
352 views

change sftp to ftp

I recently installed a CentOS machine for a couple of game servers. I followed some tutorials on the web for that, because I'm a linux noob. But. I want to sftp to store data on the server but it is ...
1
vote
1answer
770 views

Backup Manager and Cron : CentOs and Ubuntu 11.10

I have two dedicated servers: one has CentOS, the other Ubuntu. I installed backup manager on both servers. But I have two different behaviors. On CentOS: The backup of my files is "every night". I ...
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 ...
1
vote
4answers
722 views

Download specific files with FTP?

I am trying to use FTP to download several hundred files within a directory. Is there a way to only download specific files with FTP? Ideally, I would like to match specific files using a regular ...
1
vote
1answer
656 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
1answer
150 views

how will I make interactive login

I'm having trouble in making script with interactive login. I have made one but it doesn't ask the login, it automatically log in when i run the script. i just need the output like this: please ...
3
votes
2answers
5k 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
407 views

Download only recently modified files with wget over FTP

When fetching recursively with wget from an FTP server, how can I download only files modified after a given date? The use case is that I need to sync with several servers nightly, but I only need ...
1
vote
1answer
224 views

How to ensure FTPeS uses a secure connection?

From: https://secure.wikimedia.org/wikipedia/en/wiki/FTPS Explicit: If a client does not request security, the FTPS server can either allow the client to continue insecure or refuse/limit the ...
2
votes
3answers
4k 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 ...
1
vote
1answer
2k views

AIX ftpd - how to set umask for a given user?

I know how can I change the umask settings for all the users using ftpd, but how can I change the umask for a given user using FTPD? AIX/6100-05-02-1034 FTP server (Version 4.2)
1
vote
1answer
309 views

ftp option to overwrite file if different size

There is a script (bsh) running in a AIX 7.1 machine. The script is to download some files via FTP from another machine. I need to stop it later because some guy need to have maintenace over the ...
2
votes
1answer
838 views

Need small and light stand-alone one-file ftpd server

Can somebody suggest a small one-.c-file ftpd server, so I can run it on any port and it would accept ftp upload with any l/p on that port and put a file into a folder where it runs? No config files ...
2
votes
0answers
732 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 ...
1
vote
1answer
173 views

Do we need to chmod a shell script before it can be rsh

I tried to rsh a shell script from OpenVms to a Red Hat linux. It seems that it is not executed. I created the shell script in OpenVms and Ftp it to the linux. I then ls -la the folder in linux: ...
6
votes
1answer
6k 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 ...
2
votes
1answer
628 views

pure-ftpd permission denied on external usb drive

I have a sheevaplug PC (Debian installed) that I'm trying to setup my personal FTP server with. So far I was able to set up auto mounting and installed pure-ftpd. I currently have autofs setup to ...
0
votes
1answer
400 views

VSFTPD link to a folder in root folder

I have just setup the basic stuff for vsftpd. I got that working fine with root use thats all. I have also stupidly installed something to the root user home directory which I would like another user ...
0
votes
1answer
3k views

Connecting to FTP sites via squid

I'm using the squid proxy on CentOS but, I can't connect to FTP sites from WAN. I did open FTP ports in the firewall on CentOS. However, I receive a "Page cannot be displayed" error when I try to ...
1
vote
1answer
993 views

Why am I getting a “Listing remote folder failed” error when I try to connect with SFTP?

I set up SFTP, but I have a problem regarding iptables. Here are my rules: A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT A RH-Firewall-1-INPUT -m state --state NEW -m ...
1
vote
1answer
487 views

Test FTP Username and Password

I'm working on a program that involves uploading some files via FTP. However, I'd like to abort the process if the username and password given by the user are incorrect. Is there any way to "test" if ...
8
votes
2answers
4k 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 ...