The File Transfer Protocol

learn more… | top users | synonyms

1
vote
2answers
224 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 seems to indicate that ...
0
votes
0answers
20 views

vsFTPd cannot directory listing

Hey guys This problem really messed me up. I'm using LFS 7.7 OS and linux 3.19 compiled from source. FTP can be login perfectly but cannot list the diretory or file. Can anyone help? vsftpd.conf ...
0
votes
1answer
115 views

Enable CentOS server to make FTP connections to other windows based server via php

When I am running this code from my local wamp, it works fine and prints the result. //connection to a ftp server across proxy putenv('TMPDIR=/tmp/'); $ftp_server = "SERVER IP"; $ftp_user_name = "...
2
votes
3answers
182 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
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 ...
8
votes
1answer
16k views

How do I use implicit FTP over TLS

using any FTP client (I'm on Ubuntu 12.04 and tried using lftp), I want to be able to make an implicit TLS connection on a FTP server, but I can't quite manage to successfully connect(All I get is : "'...
4
votes
1answer
2k 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
vote
1answer
146 views

vsftpd: use Explicit SSL in a different port than unencrypted FTP

I've managed to run vsftpd with unencrypted FTP, Implicit SSL, and Explicit SSL. What I'm looking for is a way to run it with Explicit SSL, but have a separate port for SSL. For example: port 15000 ...
1
vote
1answer
160 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 the following ...
2
votes
0answers
100 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 ...
0
votes
1answer
43 views

How to upload files from ssh to FTP?

I have a digitalocean account, & i have ssh access to one of the droplet i created . I want to transfer a large file from this droplet ( server ) to my hostgator account ( i have a FTP enabled on ...
0
votes
1answer
129 views

Specify anonymous ftp password in ftp command

I would like a simple (ideally one-liner, without separate script file) command to connect to an ftp server via anonymous login using my email address as the password. My attempt is based on the ...
0
votes
1answer
44 views

How to check banned ports?

I need to check if I can connect to a cpanel, FTP or SSH. Is there anyway to check if a port is banned? p.s. I'm living in a Dormitory so I have no control over modems or etc.
0
votes
1answer
164 views

How to limit a ftp user to only a given subdirectory?

I know this question is posted many times on StackExchange, but none of the solutions worked for me. I use vsftpd server on ubuntu and I want to restrict the access (read-only) for a user to a given ...
2
votes
2answers
729 views

Configure vsftpd allow access to mounted ISO file

I am having problems to allow anonymous FTP access to a directory that mounted a ISO file. No change to /etc/vsftpd/vsftpd.conf RHEL 6.5 DVD ISO file saved to /var/ftp/pub/ISO/rhel6_5.iso ...
0
votes
1answer
309 views

Creating a new FTP user and giving him only the right to 1 folder [duplicate]

I have a Linux Debian machine that I own (root access). I would like to create a new user called "testuser" and give him the right to view, edit and delete files from only one specific folder ...
2
votes
2answers
72 views

Security risks of opening FTP

I have a client that wants FTP access to a certain file on one of my servers. The server runs CentOS 7. Root login is disabled. Password login is disabled (requires ssh key to login). SSH is on a non-...
1
vote
0answers
191 views

vsftpd 2.2.2 - 500 OOPS: priv_sock_get_cmd

I'm very new to Linux, and I'm currently experimenting with it and several services in order to familiarize myself to it. I've installed vsftpd to access the machine over ftp however I'm getting the ...
2
votes
1answer
23 views

Good FTP software for Debian desktop for home networks [closed]

I need a FTP software that I can use in Debian as well as be able to distribute it when I remaster Debian into my own distro. I need it to be able to do both text and graphical but the text based part ...
1
vote
1answer
86 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 vsftpd....
0
votes
0answers
84 views

Creating a new user for FTP with access to a specific dir

After following all of the instructions found here: How to create a FTP user with specific /dir/ access only on a Centos / linux installation I am having some troubles. For some reasons the new ...
0
votes
0answers
16 views

FreeBSD's built-in ftpd and awstats

How can I use awstats with the FreeBSD's built-in ftpd's xferlog? Sample lines from /var/log/xferlog (simple syslog): Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.### Sep 12 19:05:...
1
vote
2answers
667 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 ...
0
votes
0answers
134 views

Transferring files via FTP to server - Can transfer most but others permission denied?

I have a Linux server that hosts my website and I'm having quite a bit of trouble with a problem. Basically been changing my website around, and for the main part I can transfer all files fine, via ...
1
vote
2answers
112 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 /bin/...
0
votes
2answers
81 views

Delete destination directories with rsync (contents as well as parent)

I have a versions/ directory on a remote server to which I have only rsync daemon and ftp access. This directory contains a set of subdirectories, each named after the datetime of a deployed codebase (...
2
votes
1answer
59 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", ftp:/...
0
votes
1answer
106 views

Is there a default ssh server or ftp server running on most linux distros?

I am quite new to using linux and I am wondering if, in most circumstances there is a default ssh and or ftp server running. I have started a few virtual machines and I have always been able to ssh ...
9
votes
6answers
13k 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 ...
2
votes
1answer
350 views

Huge delay in script response when using SFTP with expect

I am using a script to call SFTP service to fetch some logs from the remote server. This works fine in normal scenario but, i have noticed a very long delay of around 30 minutes or more in some of the ...
0
votes
0answers
104 views

Default file permission of a created file

Raspbian is the operating system I am using the pi user for FTP and have used the command chown -R pi /var/www to give pi ownership over /var/www. This allows pi to edit and read the files and ...
-1
votes
2answers
145 views

best way to upload files(100gb+) from freebsd server

I need to upload lots of files(100gb+) from server, currently i get ssh connection, and i'm not restricted in software i can use and run anything. Please recommend me the way to upload files to my ...
0
votes
1answer
43 views

vsftpd and filezilla

I'm new to linux. I've installed vsftpd and filezilla locally on my pc(ubuntu 12.04) I can enter ftp via filezilla using 0.0.0.0 and it works. How can i access to ftp from outside of my computer? ...
1
vote
0answers
24 views

Restrict all FTP Accounts to a single directory [duplicate]

I am trying to restrict all FTP users to the directory /jannik with the vsftp-daemon. I don't want them to go anywhere but the folder /jannik and it's sub-folders. Also, I don't want them to have ...
1
vote
3answers
1k 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
5k 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
46 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 encap:...
0
votes
3answers
260 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
380 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
468 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
83 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 ...
2
votes
2answers
12k 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 machine....
1
vote
1answer
206 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 ...
1
vote
2answers
298 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 /...
24
votes
4answers
164k 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
505 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
156 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
152 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
2k 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 ...
6
votes
5answers
28k 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 ...