The File Transfer Protocol

learn more… | top users | synonyms

1
vote
2answers
289 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 ...
0
votes
1answer
923 views

LFTP mirror upload only non existing files to remote directory

Every 5 minutes some new files are downloaded via lftp to a local directory. I need to upload to another ftp only the non existing files. My script so far is: #! /bin/bash today=$(date +%Y%m%d) ...
1
vote
0answers
41 views

How to setup reverse FTP in RHEL?

Researched: http://www.thecave.info/export-proxy-username-password-linux/ http://stackoverflow.com/questions/5334110/text-based-ftp-client-settings-behind-a-proxy ...
2
votes
1answer
19 views

Is it possible to mount a subdirectory in ftp server via curlftpfs

Currently I'm running this command: curlftpfs user_name:password@hostname ~/mnt/sitename It mounts the contents of main ftp dir on server to ~/mnt/sitename. But on server I need to open public_html ...
1
vote
1answer
373 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 ...
0
votes
0answers
30 views

No problem connected by filezilla, but cannot get list when connected by linux CLI client

I built FTP server by VSFTPD, on Raspberry pi, and Inside NAT. Surely set port-forwarding and, it perfectly functional when I connected by filezilla. But, I can't execute LIST(dir) when I connected ...
0
votes
0answers
22 views

DNAT forwarding for FTP: No route to host

I have a single public IP for multiple VM, i need forward multiple ports for FTP service, i write these lines: iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 20:21 -j DNAT ...
1
vote
1answer
36 views

Super-slow LAN speed, unless downloading through Chrome's FTP client [closed]

I have connected 2 PCs using ethernet cable and set up FTP on one of them to transfer some >100GB of files. However, trying to download it, I run into a problem of speed not more than 50kB/s. It ...
3
votes
3answers
66 views

Speeding up Recursive FTP

I'm attempting to download a year's worth of data from an NOAA FTP Server using wget (or ncftpget). However, it takes way longer than it should due to FTP's overhead (I think). For instance, this ...
0
votes
2answers
708 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
4
votes
1answer
686 views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
1
vote
1answer
19 views

(Pure FTP) FTP User login directory

I've installed Open Panel, which seems to ship with Pure FTP server. I added a linux user ftpuser, and now I can log in with it. I'd like to specify a directory to which this user starts with when it ...
0
votes
3answers
4k views

I can't use the command ftp

When I try to install ftp: $ sudo yum install ftp Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process No package ftp available. Error: Nothing to do ...
3
votes
5answers
4k views

A secure way to confine FTP login users to a single directory

I needed to provide multiple users FTP logins, some able to write, some only to read, to a single FTP root directory. I very much wanted that they not see of the file system anything above that ...
1
vote
1answer
16 views

File permissions on uploaded files

This is hopefully a simple question. I have a VPS set up running LAMP and accepting FTP connections. the only problem with my setup at the moment seems to be that apache is denied access to uploaded ...
0
votes
0answers
14 views

how to change vsftpd user home directory to another machine directory with another os?

I have a ftp server(vsftpd) on linux distro and i want to change root directory of specific user to another directory, this directory lived on another machine with windows server on os, Is this ...
0
votes
0answers
46 views

How to configure a new FTP user with access to only a specific directory?

I have already looked at similar questions regarding this but whatever I do, the new user is logged in root directory showing all available files & folders. I simply don't know what I'm missing to ...
1
vote
1answer
20 views

Controlling ftp access with vsftpd

I'll preface this with the fact that I'm a bit of a newb with linux and especially with vsftpd. However, I had it set up such that I was able to upload files to a VPS I set up. The only problem is ...
1
vote
1answer
30 views

Creating FTP User who doesn't get 403 on created folders/files - Ubuntu

I've got an Ubuntu 14.04 server running apache2 If I SSH in, I can create a directory and files in /var/www/html and they are served appropriately. If I FTP in with a user I setup (whose 'home' I ...
1
vote
1answer
715 views

uploaded file via filezilla to proftp server(on ubuntu 14.04 lts) but reported 550 error

uploaded file via filezilla to proftp server(on ubuntu 14.04 lts) but reported 550 error 550 download.html: Permission denied Error: Critical file transfer error I try to set the directory to ...
-1
votes
1answer
956 views

how to install a lftp program on centOS

how to install a lftp program on CentOS and use it to transfer files between servers. I need some help on how to transfer files use lftp. I used the below command but got an error as bad command. ...
2
votes
5answers
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 ...
0
votes
2answers
760 views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
1
vote
0answers
22 views

Is it possible to edit vsftpd.conf giving ftp access to an user to only a few directories inside the server?

I want to know if a user can access multiple directories in a ftp server and no other directories. I want access to more than 1 directory. I know how to restrict access to a single directory by giving ...
0
votes
1answer
444 views

FTP files from one remote server to another

I am trying to find out how I can transfer files from one directory/server to another directory/server? What I need to consider is that I should transfer files that are created TODAY only. i.e. the ...
11
votes
3answers
30k views

Iptables to allow incoming FTP

i want to allow incoming FTP traffic. CentOS 5.4: This is my /etc/sysconfig/iptables file. # Generated by iptables-save v1.3.5 on Thu Oct 3 21:23:07 2013 *filter :INPUT ACCEPT [0:0] :FORWARD ...
1
vote
1answer
30 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 ...
0
votes
2answers
33 views

How to upload a file from a Unix server to a network drive using Putty?

I want to upload a file from a Unix Server to a network mapped drive using Putty. Now the Network Mapped drive (in Windows) holds an address something like \......... and is named MyDrive I have been ...
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 ...
7
votes
3answers
463 views

in Bash, how to not include extra arguments in an alias?

I am trying to do something like alias ftp='echo do not use ftp. Use sftp instead.' just so that ftp will not be accidentally used. But I noticed that ftp abcd.com will cause the command to ...
8
votes
3answers
45k views

Limit FTP access only to the /var/www with vsftpd

I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user. I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish ...
0
votes
1answer
48 views

proftpd conf on debian

Iam new to linux / debian Im trying to configure an ftp server in debian using proftpd. I installed the package A user is created when it is installed I put a password to this user and it is working ...
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 ...
1
vote
1answer
129 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 ...
0
votes
1answer
141 views

centos folder permission ftp user and apache

I have some folder, need anybodies php scripts can create sub folder/files and unlink files. I do sudo chown -R apache:apache /var/www/public_html/a But after that, my ftp user cannot upload files ...
3
votes
1answer
79 views

how to transfer files between two ftps

I need to transfer files from my ftp to another, is there any tool to put two access and I transfer from one to another without downloading the files to my machine?
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 ...
0
votes
0answers
71 views

Scheduled job to move files from web server to NAS

I have a website hosted on a shared server. Once a week a cron job runs on the web server to tar the www folder and export the MySQL database to a password protected backup folder. I have a Synology ...
2
votes
1answer
125 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 ...
1
vote
1answer
39 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
26 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, ...
3
votes
2answers
9k views

How to specify username and password in ftp command?

I want to automate a call to ftp in a shell script. If I type $ftp somehost.domain.com I am prompted for a username and password. I want to give that username and password as part of the call to ...
1
vote
1answer
65 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 ...
3
votes
5answers
4k views

Copy files without encryption (ssh) in local network

scp works well in all cases, but the Raspberry Pi is to weak to copy files efficiently in a secure environment (lan). The theoretically possible 6,75 MB/s via 54 Mbit wireless lan shrink down to about ...
11
votes
4answers
60k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
0
votes
1answer
668 views

multiple ftp user sharing common home directory

I want to setup like mentioned, where I can create multiple ftp users with having same home directory. What I have tried so far, Created new user with pointing to the directory of ftp user as home, ...
0
votes
1answer
371 views

Grant FTP access to specific directory

I have setup CentOS on a box on my local network and installed httpd, PHP, Webmin (and UserMin) etc. I opted for ProFTPd and have opened up ports for FTP, Webmin and Apache. I can now access Webmin ...
2
votes
0answers
138 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 ...
0
votes
2answers
82 views

keep script running while screen is locked for a long time

I have a script that is running on my computer. The script is written in PHP under my XAMP server. It actually is reading some files from a remote FTP server and after processing them writes them back ...
0
votes
0answers
22 views

How to set a different directoy for a FTP folder in FreeBSD

I am kind of new to FreeBSD and the idea is to set up a FTP server with specific users. I have created the users but I don't want to use their home directory to store the uploaded files. I want to set ...