The File Transfer Protocol

learn more… | top users | synonyms

3
votes
1answer
4k 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
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 ...
3
votes
2answers
3k 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
0answers
217 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 ...
2
votes
4answers
3k views

FTP bulk download and rename

First of all: Why I'm trying this? Because we need to download some files AND rename to shorten ones with date "stamps". The remote files have really huge filenames and it's not an option to ...
2
votes
1answer
20k 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 ...
2
votes
3answers
107 views

Downloading files over ssh based on a list of filenames

So here is what I have done already: I have a file called abc.txt which contains list of files. I am using abc.txt to move those files to a folder, tar that folder and finally I download the tar to ...
2
votes
1answer
2k views

How can I queue up an entire directory for FTP?

Currently I know how to do this: curl -T file.zip ftp://server.domain.com/ --user username:password Which will let me do a single file. However I can't figure out how to do it for a directory. I ...
2
votes
1answer
5k 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 ...
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 ...
2
votes
2answers
857 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
417 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 ...
2
votes
1answer
119 views

Writing to an interactive prompt

I’m using the ftp command line tool and want combine scripted input with user input. With only user input the prompt looks like this: ftp> But when I try to insert some input with a script, like ...
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.
2
votes
4answers
16k 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 ...
2
votes
2answers
2k views

How to set up file permissions/ownership for FTP/Apache/PHP on CentOS

I have basic understanding of chmod and CentOS file permissions. 777 stands for 111111111 and rwx for each root, group, user, etc. What I can't get my head around is setting up Apache, FTP and PHP to ...
2
votes
1answer
289 views

Reconfigure login through root ftp (lost ssh access)

My question is twofold. I need to somehow re-enable telnet and/or ssh in a device where I currently only have root ftp access. Also, if I am going about this wrong, please let me know. Details to ...
2
votes
1answer
2k views

Move a remote file at an FTP prompt

I don't think it's possible but still I would like to ask if there is any command to transfer a remote file from one directory to other at an FTP prompt. In more detail: I run ftp to a remote ...
2
votes
1answer
200 views

vsFTPd Browser no Listing

I'm trying to access my ftp server through the browser but I am facing an issue. If I access it using Filezilla, I can see the directories fine. However using a browser I get no directory listing as ...
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: ...
2
votes
1answer
882 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
1answer
686 views

Why can't anonymous users delete files via ftp?

I've created a new directory "uploads" in /var/ftp. The owner and group of this directory is "ftp" and the permissions are set to 777. Content of my vsftpd.conf file: anonymous_enable=YES ...
2
votes
2answers
320 views

Does vsftpd support plain FTP?

I have been able to set up a SFTP server using vsftpd on Ubuntu 14.04. However, I want to experiment with plain (unencrypted) FTP to see the unencrypted packets using wireshark. To set up the SFTP ...
2
votes
1answer
4k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
2
votes
1answer
466 views

Do I just need to include a .netrc file to have UNIX pick it up?

I have a .netrc with the following format in a directory using a bash terminal on OSX: machine m... login l... password p... I have chowned and cmoded the file like this, as suggested in ...
2
votes
1answer
2k views

How to keep ftp connection alive

Some ftp websites have a small time out value. When you do some other jobs, ftp connection dies and you should log in again. How can I keep my connection alive? Edit: It will be appreciated if ...
2
votes
2answers
3k views

Why do I get kicked out of a FTP session once I run a command?

Why do I get kicked out of a FTP session once I run a command? It seems that once I successfully login into a server is get the following after running a command such as "ls" (I've enclosed the error ...
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 ...
2
votes
2answers
114 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. ...
2
votes
1answer
495 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?
2
votes
1answer
960 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 ?
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 ...
2
votes
1answer
84 views

ftp: in remote machine, file owner changes with the change in username used for logging in the remote machine

It was a wonder for me to see why the file owner changes when I log in the remote machine with different usernames. Please see: 1st I logged in a remote machine using username : peacenews. I entered ...
2
votes
2answers
222 views

Linux shared FTP: one file must not be deleted

Two users: A1:x:1001:1002::/home/A1:/bin/sh A2:x:1002:1002::/home/A1:/bin/sh One group: A1:x:1002: FTP server: fresh install ProFTPd OS: fresh install Ubuntu Server 12.04 One folder (/home/A1) ...
2
votes
1answer
2k views

Cent OS + VSFTP, 553 could not create file, how to allow uploading of files?

I have a ftp server running on Cent OS VM. the goal: public map can be seen by everyone (readonly for anonymous users, write for logged in users) upload map can only be seen by local users logged ...
2
votes
1answer
674 views

Share a directory over FTP with chroot_local enabled

I'm using vsftpd. By default, when I create a user, they are jailed in their directory which is /home/user. I have enabled chroot_local_user=YES. On the other hand, I also wanted to create a shared ...
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 ...
2
votes
2answers
5k 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 ...
2
votes
1answer
380 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 ...
2
votes
1answer
644 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 ...
2
votes
0answers
93 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
2
votes
0answers
659 views

Installing vsftpd on Ubuntu - could not bind listening IPv4 socket?

For my network security class I have to set up an FTP server on a virtual machine. We are set up with 3 VM's - Gateway, Client, and Server. I have installed vsftpd using the command: sudo apt-get ...
2
votes
1answer
47 views

Bash script for logging in ftp

I have seen this question: link I have similar, if not the same request. I'd like to create a script that will log me in ftp server. I do not want to automate the whole exchange, I just want to speed ...
2
votes
0answers
44 views

Character encoding of .netrc

Does anyone know which character encoding is used in .netrc? As a German user, I sometimes put umlauts in passwords. So my question is, are these treated as latin1 or may I assume that I am doing ...
2
votes
0answers
292 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 ...
2
votes
1answer
281 views

FTP timeout FIRST time [closed]

I'm using PureFTPd on MacOSX (Snow Leopard, not server version). When trying to access the FTP account from the outside via dyndns (e.g. using https://www.wormly.com/test_ftp_server) the connection ...
2
votes
0answers
779 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
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 ...
1
vote
2answers
26k views

How to check the Passive and Active FTP

How do I check which FTP (Passive or Active) is running? By default, passive FTP is running in linux, but how do I check?
1
vote
4answers
774 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 ...