The File Transfer Protocol

learn more… | top users | synonyms

2
votes
1answer
2k 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
votes
3answers
21 views

How to stop outbound ftp from being established. centos/ rhel

What is the method to block a machine from establishing connection to an outside ftp server. Both ftp and sftp. inet, iptables, shutdown service?
0
votes
0answers
12 views

another problem “oops 500 cannot change directory” vsftpd server

i have same problem as follows What are the settings to correct vsftpd "500 OOPS: cannot change directory" error? but setsebool commands are not recognized in my OS, Im running debian 7 ...
0
votes
2answers
1k 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 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
19 views

How to change FTP home directory in Centos 6

I have created one Linux centOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there . The issue i face was when i try to FTP to the instance with following config ...
0
votes
0answers
16 views

TP Link USB Sharing VLC - password rejected

So I have a TP-LINK Archer C5 AC1200 and it has this nice feature where I can share a usb device across the router. So obviously I hooked my hard drive that has all my media files on it. I can play ...
19
votes
5answers
94k 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 ...
1
vote
3answers
46 views

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

I succeded in transfering 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 -in ...
0
votes
3answers
19 views

Curl freezes when downloading from ftp

I'm trying to download a file from ftp server using curl: curl --user kshitiz:pAssword ftp://@11.111.11.11/myfile.txt -o /tmp/myfile.txt -v curl connects to the server and freezes: * Hostname was ...
0
votes
1answer
28 views

How to connect to a CentOS VM over ftp?

Host - Windows 7 Guest - CentOS I have installed vsftpd as according to this guide and the service is running. But when I try to connect to the VM from the host using FileZilla the connection times ...
0
votes
2answers
64 views

How do I retrive files using an internet connection and commands?

I am attempting to download a folder where it has 777 permissions as well as its subfolders, but when I try to use get in ftp, It brings back the error: 550 Failed to open file Iv'e checked the ...
1
vote
0answers
22 views

iptables blocking incoming FTP traffic 2/3 minutes after being reset

On CentOS 6.6- At first, iptables was blocking access to my FTP server at all while it was on. After some research I added the lines to /etc/sysconfig/iptables that are suggested in the question ...
0
votes
1answer
1k 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) ...
2
votes
2answers
4k 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 ...
1
vote
1answer
161 views

How do i WGET an image from a webaddress and store it on a remote ftp location as a cronjob on dd-wrt

From a DD-WRT router I want to create a cron-job that wget's an image from a remote location. This image is to be passed on to a remote FTP server for storage. The process is to be repeated every ...
0
votes
1answer
29 views

Enable centos server to make FTP connection to other windows based server via php

When i am running this same code from my local wamp.Works fine and prints the result. //connection to a ftp server across proxy putenv('TMPDIR=/tmp/'); $ftp_server = "SERVER IP"; $ftp_user_name = ...
1
vote
2answers
23 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 ...
12
votes
4answers
83k 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 ...
2
votes
2answers
47 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 ...
0
votes
0answers
38 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
1
vote
1answer
741 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 ...
1
vote
2answers
37 views

Why does trying to run a python executable return ': No such file or directory' after transferring it to server via FTP? [duplicate]

I'm having an issue where when I transfer a Python file to my VPS via FTP and try to run it using ./foo.py I am returned with the error: : No such file or directory. The error seams to indicate that ...
0
votes
0answers
28 views

Transfer a file via Putty to FTP server(cPanel)

I am logged into a VPS via a Serial Console using Putty. I have created my zip file now and now I need to transfer it to a remote web hosting account via FTP. They don't have SSH/shell access on that ...
0
votes
1answer
32 views

Install ftp Ubuntu 14.04LTS

I'm trying to enable the ftp in ubuntu. I write in the terminal the command setup-ftp but the answer is "setup-ftp: command not found". Where am I wrong?
1
vote
1answer
130 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 ...
4
votes
5answers
20k 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 ...
9
votes
4answers
7k views

How to perform grep on FTP?

I tried searching for similar command in ncftp (actually this is the only terminal ftp client I used) and I didn't find it. What's the way (if possible at all) to use grep command on remote server, ...
15
votes
3answers
51k 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
2answers
382 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: ...
0
votes
1answer
62 views

Starting FTP with xinetd

I'm using GNU's Inetutils FTP and have gotten it all set up except it does not automatically start when I turn on my system. In order to get it to work I have to start the standalone using "ftpd -D". ...
3
votes
2answers
5k views

Is there any ftp command to resume upload?

Oh! with my slow net connection, I am badly stuck. I was uploading a video file from local box to remote one via ftp. But net failed.I know there is a command named reget to resume download but Is ...
0
votes
0answers
30 views

Cant see harddrive folder in ftp client

I've mounted my hard drive to my Raspberry Pi using a tutorial. I mounted the drive in /media/movies. The problem is that when I connect my Raspberry Pi to an FTP client, I can only see the "home" and ...
2
votes
2answers
60 views

Is it possible to remotely log into an FTP account without installing any software?

I'm trying to work remotely on a project that I have stored in a server, but the computer I am on belongs to the university and I don't have any keys nor permission to install anything. Could it be ...
0
votes
1answer
27 views

FTP passive mode, fails

Hi I am trying to setup iptables to allow FTP. When I connect with FTP, i get the following message in my filezilla. Status: Connected Status: Retrieving directory listing... Command: PWD ...
0
votes
1answer
52 views

How to Install or enable PHP-FTP support on Linux Apache server?

In my PHP code I am using the below function ftp_connect() But it throws an error, FTP is not enabled for PHP. Can any one tell me how to enable/install FTP in RHEL, Apache2.2 server,PHP Version ...
0
votes
1answer
43 views

Unable to setup iptables for ftp passive mode [duplicate]

I tried the following rules to allow FTP: # The following two rules allow the inbound FTP connection iptables -A INPUT -p tcp --sport 21 -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p ...
0
votes
1answer
31 views

Apache Module blocking access to FTP

I'm running a CentOs server with a lot of websites on it. The previous dev lead applied the Apache module to all domains. Problem is, now the client can't access their files in Filezilla. They can ...
1
vote
1answer
45 views

Linux LiveCD Server with FTP & SSH Services

Could anyone please suggest me a LiveCD (Linux Based) with SSH & FTP Services. Basically I don't want to install anything on my laptop so I just want to boot LiveCD with FTP/SSH services so I can ...
4
votes
1answer
1k 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 $ ...
0
votes
2answers
70 views

Determine what port OpenSUSE firewall is blocking

I am having a problem with the WebStorm IDE in that I cannot use its built-in FTP capabilities probably due to my OpenSUSE (Tumbleweed) firewall blocking some needed ports. I am assuming that because ...
1
vote
3answers
74 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 ...
0
votes
1answer
54 views

Right permissions FTP server

I need create a FTP server to upload files directly to apache directory. I have create user with: useradd -G wheel,apache newuser and set password with passwd newuser I have changed home directory ...
2
votes
2answers
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)
0
votes
1answer
242 views

Unable to start vsftpd service on CentOS 6.6

I have installed vsftpd ftp server on CentOS 6.6 with yum, But I can't start vsftpd service. When I run /etc/init.d/vsftpd start, I get Starting vsftpd for vsftpd: [FAILED] with no ...
1
vote
1answer
44 views

Allow ftp out through iptables

I have been having difficulty allowing ftp through iptables. Right now my ftp looks like this. Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp ...
1
vote
0answers
26 views

Centos 7 FTP Hidden Directory Issue

After setting up Centos 7 with a web server standard install and LAMP stack. I installed vsftpd. Everything works fine and configured it to accept passive to enable gui ftp programs. However, when ...
0
votes
2answers
74 views

How do I run find, maxdepth and other commands on lcd while using ftp?

I have got the command working locally using normal commands. I now need it to run while using ftp. I understand I need to use '!' And instead of copy I will need to use put so it works on the lcd, ...
4
votes
3answers
11k views

vsftpd does not list content of a directory

I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
0
votes
1answer
84 views

Set home directory of a user to root?

I would like to set the home directory for ftpuser to root. That's my command: # adduser ftproot -shell /bin/false -home /var/www What is the directory term for root?