The File Transfer Protocol

learn more… | top users | synonyms

0
votes
1answer
430 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 ...
0
votes
2answers
658 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 ...
11
votes
3answers
26k 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 ...
4
votes
1answer
624 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
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 ...
0
votes
2answers
25 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 ...
0
votes
1answer
528 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 ...
7
votes
3answers
451 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 ...
6
votes
3answers
39k 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
873 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) ...
0
votes
1answer
42 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
86 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
42 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 ...
0
votes
2answers
660 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 ...
3
votes
1answer
52 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
41 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
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 ...
0
votes
1answer
716 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. ...
0
votes
3answers
3k 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 ...
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
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, ...
3
votes
2answers
8k 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
42 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
3k 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
56k 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
650 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
134 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
91 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
70 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
20 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 ...
2
votes
0answers
621 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 ...
1
vote
1answer
107 views

FTP “put” not copying file to remote host when ran from shell script but copies the file to remote host when ran manually

ftp -n ${FTP_HOST} << STOP user ${FTP_USERNAME} ${FTP_PASSWORD} binary lcd ${FTP_FROM_DIR} cd ${FTP_TO_DIR} put ${reportFileName} STOP That is my code which is not ...
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 ...
0
votes
0answers
182 views

FTP connection to Linux Mint: 550 Permission denied. Error: Critical file transfer error

I am using Linux Mint and Apache on my laptop as my own made web server. I can display the html file if I connect to the IP adress. I can display all files in my hard drive if I connect using ...
1
vote
3answers
893 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 ...
3
votes
4answers
3k 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 ...
0
votes
0answers
102 views

FileZilla: Failed to retrieve directory listing

I am running Ubuntu 12.04 as the host and installed Ubuntu 14.04 in the Virtualbox as Guest OS.I have installed and configured VSFTPD on Ubuntu 14.04 and forwarded the virtualbox port's as follows: ...
1
vote
0answers
771 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 got an ...
4
votes
2answers
4k views

How to limit ftp speed

I have multiple users on a server. They upload and download their files through FTP. Sometimes some heavy transfer causes high load on the server. I am wondering, if there is any way to limit the ftp ...
2
votes
1answer
44 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 ...
3
votes
1answer
432 views

Download only recently modified files with wget over FTP

When fetching recursively with wget from an FTP server, how can I download only files modified after a given date? The use case is that I need to sync with several servers nightly, but I only need ...
0
votes
1answer
105 views

Console download accelerator that downloads *multiple* files simultaneously

The download accelerators I've found thus far only let me specify a single file to download. This is useful for single large files, but I'm looking for a tool that lets me hand over a list of multiple ...
0
votes
1answer
217 views

How to change the ftp server port in ProFTPD

I want to change my ProFTPD server port from 21 to 1945. But I didn't find any port mention in the proftpd.conf file. When I add port 21 in the conf file and restart the ftp server it shows the ...
3
votes
1answer
120 views

Proper way to handle FTP over SSL with restrictive firewall rules?

Without SSL, FTP works fine over a stateful Firewall, like netfilter (iptables) + the nf_conntrack_ftp kernel module like this: # modprobe nf_conntrack_ftp # iptables -A INPUT -m conntrack --ctstate ...
-1
votes
1answer
641 views

Unable to connect FTP: 530 Login incorrect

My account has been created on a LINUX server and I am able to login through putty. I have changed my password also. But, to move a file there, I tried to connect that server through FTP client. I ...
1
vote
2answers
781 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 ...
0
votes
0answers
56 views

Wget rename .listing

I'm running multiple instances of wget from the same directory (and connected to the same ftp). wget stores the locations of files on the server in a .listing file. I've noticed that many of my files ...