The File Transfer Protocol

learn more… | top users | synonyms

1
vote
3answers
25 views

Why won't my FTP script get all the files using mget command?

I am having a script which pulls data from different servers whose details it reads from external file. It reads the files and the verbose output shows all the matching files but it fetches only one ...
2
votes
7answers
4k views

How to upload tcpdumps in realtime to FTP?

I can do tcpdumps with this command: tcpdump -w `date +%F-%Hh-%Mm-%Ss-%N`.pcap src 10.10.10.10 or dst 10.10.10.10 Q: I have an FTP server with username: FTPUSER and password FTPPASSWORD. How can I ...
1
vote
1answer
15 views

FTP not happening on RHEL 6 Server configured using a Vm Player 11

I am not able to ftp to the server server from a client. I am using my base machine as Ubuntu 14.04 . Below is the ifconfig output:- raghav@raghav-HP-15-Notebook-PC:~$ ifconfig eth0 Link ...
10
votes
4answers
53k views

VSFTPD, 553 Could not create file. - permissions?

I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
2
votes
3answers
55 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 ...
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
22 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
13 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
22 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
23 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
95k 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
3answers
21 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
29 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
65 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
25 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
30 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
27 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
85k 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
52 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
753 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
41 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
30 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
155 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
21k 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, ...
16
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
428 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
70 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
31 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
61 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
28 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
56 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
44 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
33 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
52 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
73 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
76 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
64 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
272 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
47 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 ...