The File Transfer Protocol

learn more… | top users | synonyms

1
vote
2answers
305 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
2answers
790 views

Shell script: whole directory to the remote ftp server

I am trying to ftp some recording files to a remote server for backup every night. I am very confused regarding shell script. My question / problem is : I want to move the whole folder/directory ...
1
vote
2answers
806 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 ...
1
vote
2answers
301 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 ...
1
vote
1answer
417 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
2answers
4k views

File uploads successfully however it is 0 bytes

I have an interesting problem where I have the ability to upload files, change permissions, download files using FTP on Cent OS. However, the interesting and annoying part is that the files are ...
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
17k 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 ...
1
vote
1answer
23 views

Forward every port depending on domain

A friend and I are doing some little webhosting for us. Currently all the pages are running on one Server via Apache2's virtual hosts. Know we wanna make single servers for each site with ssh-access, ...
1
vote
1answer
177 views

Configure vsftpd allow access to mounted ISO file

I am having problems to allow anonymous FTP access to a directory that mounted a ISO file. No change to /etc/vsftpd/vsftpd.conf RHEL 6.5 DVD ISO file saved to /var/ftp/pub/ISO/rhel6_5.iso ...
1
vote
1answer
1k 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
69 views

vsftpd limit users to /home/user/minecraft

So using vsftpd I want to lock a user to /home/theirname/Minecraft. I can't change their home directory because a program I'm using(McMyAdmin) will try to reinstall itself but I don't want them having ...
1
vote
3answers
430 views

Configuring FTP server in redhat

I have installed vsftpd in redhat. Everything was file untill I fould that when I log into ftp server using: ftp localhost or fileZilla I get following errors: ERROR: - 500 OOPS: cannot change ...
1
vote
2answers
717 views

gvfs-mount auto password

I would like to make shortcuts for gvfs mounts (I prefer to mount from the shell). For this, it is quite necessary/convenient not to have to enter the password for the ftp:// and sftp:// connections . ...
1
vote
1answer
144 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
2answers
3k 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
3answers
897 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
95 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
463 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
175 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
3k views

How to access the Local FTP YUM repo from client Machine

I setup the FTP server on Machine A 192.168.1.105 and created the YUM repo. And placed following contents in it. #vi rhel-localftp.repo [rhel-localftp.rep] name=bla bla bla ...
1
vote
2answers
597 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
144 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
656 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
774 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
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
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
321 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
176 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
507 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
24 views

how to know on my linux machine if connection VIA sftp is active

I have Linux machine red-hat 5.X please advice - which what command I can identify if someone is tiring to copy files from my machine VIA sftp or ftp is it possible to verify this on my Linux machine ...
1
vote
1answer
33 views

Return code is always 0 after running echo “\$ macroName ” | ftp -i mymachine

I cannot seem to retrieve a non-zero return code when calling the ftp macro. It doesn't matter what errors are encountered during the ftp macro execution e.g. directory doesn't exist, file doesn't ...
1
vote
1answer
150 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
212 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
749 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
410 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
2k 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
619 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
7k 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
275 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
783 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
1answer
786 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
687 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
228 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
1k 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
444 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
646 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
88 views

Sh Script using ftp to put a list of files

So my Script looks something like this: #... files="$(find $line/processed/* 2>/dev/null)" #2>/dev/null used for error output suppression if [[ ! -z "$files" ]] then ...
1
vote
1answer
43 views

HPUX logging ftp connection

Host is 11iV3. I am trying to log ftp transfert outside syslog.log in /etc/inetd.conf ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -u 022 -o -i -X where -i/-o tell ftpd to log ...