The File Transfer Protocol

learn more… | top users | synonyms

2
votes
1answer
861 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: ...
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
156 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
511 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
3answers
2k 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
2answers
3k 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)
2
votes
1answer
33 views

Download only specific directories from FTP site using wget

I have read the manual page for wget and search Google for an answer, but haven't been able to get it. How would I use wget to download only folders that contain a specific term in their names from ...
2
votes
3answers
155 views

Transferring mp3 files from a remote server via cronjob to the RPi without overwriting

I succeeded in transferring all files from a folder via ftp from a remote server to a raspberry, but I would like to transfer only new ones. Below is the working script i have. #!/bin/bash -vx ftp ...
2
votes
2answers
336 views

Is there a default ftp server in Debian Wheezy default installation?

I just finished installing a test web server with Debian Wheezy, apache and phpPgAdmin. I don't know if the default installation includes the ftp server. How can I check if one is installed? What ...
2
votes
1answer
55 views

Where to find the downloaded file after dragging a FTP URL to the terminal?

Usually, when I drag a link to the terminal, the link target is pasted in the terminal. However, when I just dragged a FTP link from Chromium to my Terminal (first result on Google for "ftp pdf", ...
2
votes
1answer
164 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
363 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
1k 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
3k 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
8k 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
613 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
751 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
72 views

Slow downloading from own server

I've a small VPS and I can download anything only with slow speed - only sometimes (and sometimes with normal speed). I can download from any other webpage (for example the FreeBSD's ISO files) with ...
2
votes
0answers
397 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
1answer
180 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
54 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 ...
2
votes
0answers
426 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
330 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
1k 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
1k 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
2answers
5k 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
321 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
1k 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
512 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
483 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
1answer
54 views

exit status of command is different when it is run via strace

I can normaly mount/umount FTP as file system using following commands: └──> curlftpfs -o codepage=windows-1250 anonymous:anonymous@192.168.3.13 /home/marek/ftpfs └──> ls /home/marek/ftpfs/ 1 2 ...
1
vote
1answer
50 views

Why does `telnet` buffer FTP control connection lines?

RFC 1123 says Implementors MUST NOT assume any correspondence between READ boundaries on the control connection and the Telnet EOL sequences (CR LF). DISCUSSION: Thus, a server-FTP (or User-FTP) ...
1
vote
2answers
519 views

FTP Troubleshooting

I have a centos 6.5 installed on Virtual Box. I'm trying to configure a basic ftp server. Below are details of it. Installed vsftpd from DVD/Yum: Status -> Successful Disabled firewall for test ...
1
vote
2answers
3k views

Unable to start proftpd server debian 8

I'm trying to configure an ftp server on debian 8. I'm using the basic conf file of proftpd: http://www.proftpd.org/docs/configs/basic.conf Now when I try to start the server I get this error: ...
1
vote
3answers
152 views

Remove special pattern ^M from script which got appended after FTP from windows to Unix

I send a windows file using FTP to an unix system and got appended ^M wherever a new line was intended, and I just want to remove them. One method which I can opt is to run dos2unix command. Can ...
1
vote
2answers
2k 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
2answers
9k 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
27k 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
18 views

Changing IPTables to Allow FTP over TLS Using Passive Ports

I am using Arch Linux. I followed a tutorial to change /etc/iptables/iptables.rules to allow only the basic ports for my web server. I also used /etc/modules-load.d/nf_conntrack_ftp.conf to enable ...
1
vote
1answer
15 views

unzip/untar files using Curl in ftp server

In the curl command we can delete,rename and move files from a FTP server using Curl like in the command below: curl -v -u username:pwd ftp://host/FileTodelete -Q "DELE FileTodelete" Can we untar ...
1
vote
1answer
77 views

How to disable SFTP for a user, but keep FTP enabled

I've created a user called "ftp-acc" and limited it to a single directory using VSFTPD. When I login to the account in Filezilla using FTP, it is successfully restricted to a single directory. ...
1
vote
1answer
33 views

Symlink to same directory

I've set up a ftp server for using ftp push on a tv recording page. I've created an extra user for this, who has only access to one directory, which the user is chroot-ed in. But the page does not ...
1
vote
1answer
162 views

LFTP Script to Download Files

I want to write a lftp script that will download files every 15 minutes from a server every x amount of time. Can someone advise how i can do this? Thanks
1
vote
2answers
24 views

How to migrate a file on Linux server?

I have renamed a shell script on my linux server and uploaded a new file through FTP tool like WinScp. Now, I am trying to execute this file through Terminal but I am getting Permission Denied ...
1
vote
1answer
63 views

ftp user for root directories? [closed]

I am setting up my Ubuntu 14.04 server. I want to have an FTP access (I use vsftpd), mainly for my apache2 server, so I added a new user to the www-data group. I also set up the settings for ...
1
vote
2answers
87 views

Add user on Jessie that can log on to FTP but has no shell

I have set up a vsftpd server and I used chroot to keep users locked inside their home directories, which works just fine. I have since tried to edit the passwd file to set the default shell to ...
1
vote
2answers
229 views

I have defined a macro in .netrc file but when I execute it from ftp it says “macro not found”

Here is the .netrc file and the command I use, any idea what is wrong here? [root@localhost ~]# cat /root/.netrc machine ftp.nyxdata.com login anonymous password empty macdef download_nyse_index cd ...
1
vote
1answer
1k views

delete multiple remote files with the FTP command

Right now we have a script that uses the FTP mget command to download all the files in a specific location. After after verifying the files have successfully downloaded we run a ftp delete command ...