The File Transfer Protocol

learn more… | top users | synonyms

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
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 ...
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, ...
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
661 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
329 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
562 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 ...
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 ...
1
vote
1answer
1k 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
0answers
148 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
244 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
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 ...
2
votes
1answer
597 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 ...
3
votes
2answers
843 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
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 ...
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 ...
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
670 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 ...
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 ...
1
vote
1answer
728 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 ...
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 ...
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
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 ...
1
vote
1answer
945 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 ...
2
votes
1answer
321 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
4answers
645 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 ...
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 ...
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 ...
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
287 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 ...
1
vote
1answer
735 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
689 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
170 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
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 ...
0
votes
1answer
363 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 ...
1
vote
1answer
464 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 ...
1
vote
1answer
424 views

Need command-line program to download all of http:// https:// scp:// ftp:// style links (on e.g. ubuntu)

I'm writing a perl program where I want to accept all kinds of "file names" from the user, including /home/foo/bar.txt and scp://server/some/file.txt or whatever. And then I thought that if I can find ...
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
382 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 ...
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?
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
1answer
653 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 ...
-1
votes
1answer
1k views

How can I open port 21 on a Linux VM?

I need to open port 21 on a Linux (CentOS 5) virtual machine I have. I have tried several Google solutions, but none are working. I was wondering if someone could tell me how to do this. Below is ...
1
vote
1answer
2k views

How to allow a particular user to access the FTP?

Anonymous / FTP users are allowed to access the FTP. Suppose if there is a user named as JOE then how can I allow him to access the FTP?
1
vote
2answers
14k views

How do I set the default ftp root folder for an Ubuntu user connecting to VSFTPD?

How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently ...