The File Transfer Protocol

learn more… | top users | synonyms

1
vote
1answer
68 views

Security for a web server for multiple people?

I have an apache web server set up where multiple people have their websites hosted, mostly php based websites. The problem is, when these people upload their website files, it has read permissions ...
1
vote
1answer
5k views

How can I create an SFTP user in CentOS?

I'd like to give temporary SFTP access to a support guy. How do I create an SFTP user? And how can I delete it once the job is done? Also, how do I specify a home directory for them? Can I prevent ...
1
vote
2answers
1k views

FTP and iptables. Connection fails but ports are open

I installed proftp on my machine. With iptables disabled I can connect to the machine, using ftp-client or telnet. With iptables connection fails - telnet says "Connection failed" # works telnet ...
1
vote
2answers
460 views

rsync: samba vs ftp for backup

I need to back up ~0.5 TB of files (about 600,000 of them) from a Windows Server 2003 machine to a CentOS 6.4 machine across a 100MB network, and update them once a night. The backup script would be ...
1
vote
1answer
80 views

Right settings of vsftpd?

I installed vsftpd on Linux Mint, I changed some settings to the configuration file so it permits anonymous users, however I want to redirect them to a certain directory where they can upload files. ...
1
vote
1answer
268 views

Changing drives in FTP

I am using RHEL6 and I connect to FileZilla FTP Server in Windows 2008 Server which has more than 10 drives. I have access to all of them but for my user C:\ is Home Directory. I want to change to ...
1
vote
1answer
146 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 ...
1
vote
2answers
476 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
1answer
103 views

Trying to Utime via FTP

I am connecting to my server via FTP (that is the only way I have access to this server in particular). I need to utime a command via FTP to the server. Other commands work but when I try something ...
1
vote
1answer
568 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 ...
1
vote
1answer
667 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
2k 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
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
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
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: ...
1
vote
1answer
463 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
96 views

priv_sock_get_cmd error with vsftpd

I've installed vsftpd on my local system. When trying to connect to it using filezilla I get following error: Status: Connection established, waiting for welcome message... Response: 500 OOPS: ...
1
vote
1answer
65 views

FTP download problems with iptables — Port 21 connection is allowed but “Network is unreachable”

I'm trying to connect to an FTP site but with, e.g., wget: Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /gcrypt/gnutls ...
1
vote
1answer
113 views

vsftpd does not allow chrooted users write to directory

I installed vsftpd on ubuntu 12.04 and chrooted local users, in order not to let them see the other parts of system. but when a local user wants to login into ftp it gives out this error: 500 OOPS: ...
1
vote
1answer
303 views

Not able to deny selected local user to login ftp server

I added the below 2 lines in the end of the configuration file /etc/vsftpd.conf so as to deny a local user named 'tentenths' from loggin in the ftp server. I restarted the vsftpd service after the ...
1
vote
1answer
313 views

Not able to ftp remote server anonymously

I was not able to ftp to my remote server. I read Ubuntu doc to see how to resolve: https://help.ubuntu.com/10.04/serverguide/ftp-server.html Just now I installed vsftpd on my remote machine. Now ...
1
vote
2answers
1k views

“lftp” login still possible for “/etc/pam.d/vsftpd” blocked users

I have a ftp server running on the machine 192.168.122.50 Below are the last three directives from /etc/vsftpd/vsftpd.conf file pam_service_name=vsftpd #userlist_enable=YES #userlist_deny=YES ...
1
vote
1answer
335 views

Carriage Return and Line Feed bit streams in a binary file during TFTP upload in ASCII mode

In case of TFTP, one can choose between "ASCII" or "octet" mode. As I have understood, 00001010(new-line) or 00001101(carriage return) bit streams in a binary file will get some sort of special ...
1
vote
1answer
4k views

vsftpd: 550 Failed to change directory

I'm using ubuntu 12.04. and ftp service I've installed vsftpd and it's working fine. But may I'm facing some user complexity. My system directory like: -/ --/home ----/rony --/vol When I list ...
1
vote
1answer
217 views

Implement ProFTPd server without chroot

Can I use ProFTPd without using a chroot jail (thereby preventing access to anything outside of the FTP root)? I have a requirement to have symlinks in my FTP source that point to locations outside of ...
1
vote
1answer
632 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 ...
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 ...
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 ...
1
vote
1answer
584 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 ...
1
vote
1answer
218 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 ...
1
vote
1answer
944 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
422 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 ...
1
vote
2answers
570 views

Some FTP clients timing out on data connection to Pure-FTPd

I'm trying to connect to a server via FTP and I'm having some problems. Server is a CentOS with Pure-FTPd. My usual client is lftp which on this server gets stuck at "Making data connection". All ...
1
vote
1answer
37 views

Two vsftpd instances - check passive port on FTPS

I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here the content of the second conf file: anonymous_enable=NO chroot_list_enable=YES ...
1
vote
0answers
40 views

Renaming public_html for main domain to subdomain which is development website

In CPanel I created a subdomain test.mydomain.com under my main domain mydomain.com. Both domains have magento websites. The contents of mydomain.com are stored in public_html and the contents of ...
1
vote
1answer
34 views

Same ftp upload issue on any live distribution I tried

I have just installed Linux Mint Petra 16 after trying more live distributions. The problem I am facing right now, is that I can't upload anything on any ftp server. The upload speed doesn't exceed ...
1
vote
2answers
80 views

Run shell script based on IPTABLES port access attempt

Is there a way in Linux (RHEL 5-6) using IPTABLES, that if someone tried to access port 21, as an FTP user, to log what the user name they are trying to authenticate as and additionally run a shell ...
1
vote
0answers
29 views

Multi-file simultaneous downloader with live statistics for all files

(I recently asked the question "Console download accelerator that downloads *multiple* files simultaneously" and learned about lftp, an excellent program which can download multiple files ...
1
vote
0answers
387 views

FTP 550 error when trying to copy file [closed]

For just a few seconds I had a strange experience on my simple home server (QNAP TS-210). I was copying many files and when I wanted to copy just another one (text file with .srt extension), I've got ...
1
vote
2answers
67 views

FTP transfer: I can see files on remote machine, but remote user can't

I had to transfer a few videos and photoes on a FTP server. For that, the person on the remote machine gave me the IP address of that machine where I had to transfer. He told me to transfer by FTP. ...
1
vote
0answers
70 views

Failed updating posts on wordpress when use linux, but succeed on windows

I'm using Wordpress for blogging. And I use Windows 7 accompanied with Linux Mint on my PC. Recently I find that I can't update my posts on Wordpress when using Linux Mint. However, when I switch to ...
1
vote
1answer
79 views

How to ftp as root?

I can ftp to a linux server by doing ftp server But I can't do that with root. Need sftp or something or what?
1
vote
0answers
219 views

vsftpd - ftp user cannot create folders

CentOS - I have created an ftp user that can log in remotely over the internet to the vsftpd server. Now I can log in via ftp, see all the directory listings (not limited/jailed) to any directory, ...
1
vote
0answers
167 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. ...
1
vote
0answers
538 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
1k 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 ...
1
vote
1answer
242 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 ...
1
vote
4answers
2k 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 ...
1
vote
1answer
593 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 ...