Questions tagged [ftp]

The File Transfer Protocol

According to Wikipedia:

File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host or to another host over a TCP-based network, such as the Internet.

FTP is built on a client-server architecture and uses separate control and data connections between the client and the server.FTP users may authenticate themselves using a clear-text sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. For secure transmission that hides (encrypts) the username and password, and encrypts the content, FTP is often secured with SSL/TLS (FTPS). SSH File Transfer Protocol (SFTP) is sometimes also used instead.

Useful links

  1. Simple ftp demo
  2. FTP commands
597 questions
53
votes
5 answers

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 specific directory only on the server, I've done the…
user1231561
  • 633
  • 1
  • 6
  • 4
47
votes
4 answers

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 it?
Badr Hari
  • 585
  • 1
  • 6
  • 8
36
votes
6 answers

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 ACCEPT [0:0] :OUTPUT ACCEPT [133:14837] -A INPUT -p tcp…
Gokul
  • 1,061
  • 5
  • 16
  • 31
32
votes
3 answers

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 to a FTP server, but I can't quite manage to successfully connect. All I am getting is: 'ls' at 0 [Delaying before reconnect 29]
dominicbri7
  • 421
  • 1
  • 4
  • 5
30
votes
8 answers

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 1.1 MB/s. Is there a way to copy files remotely…
ManuelSchneid3r
  • 4,256
  • 8
  • 41
  • 58
28
votes
5 answers

Why does SCP hang on copying files larger than 1405 bytes?

I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp process hangs up and doesn't exit. I have to hit…
Chandranshu
  • 383
  • 1
  • 4
  • 7
20
votes
3 answers

Uploading multiple files via FTP using curl

I'm trying to upload all the text files within the current folder via FTP to a server location using curl. I tried the following line: curl -T "{file1.txt, file2.txt}" ftp://XXX --user YYY where XXX is the server's IP address and YYY is the…
JJT
  • 303
  • 1
  • 2
  • 7
18
votes
2 answers

How to check the Passive and Active FTP

How do I check which FTP (Passive or Active) is running? By default, passive FTP is running in linux, but how do I check?
Rahul Patil
  • 24,281
  • 25
  • 80
  • 96
17
votes
4 answers

FTP client with a good GUI?

I love linux because I get control over my system. But I do herald from the school of mac, where things are simple, beautiful, and powerful. I like it that way, as opposed to having lots of knobs and levers and everything. Does anyone know of a…
Garrett
  • 375
  • 1
  • 3
  • 7
15
votes
7 answers

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 that indicates what happened. Here is the full…
KateYoak
  • 735
  • 1
  • 8
  • 13
14
votes
10 answers

What's the point of firewalling outgoing connections?

I have a firewall (csf) that lets you to separately allow incoming and outgoing TCP ports. My question is, why would anyone want to have any outgoing ports closed? I understand that by default you might want to have all ports closed for incoming…
Pythonist
  • 737
  • 7
  • 15
14
votes
1 answer

How to specify username password for ftp

ftp ftp://bapte:[email protected] And I got ftp: ftp://bapte:[email protected]: Name or service not known I tried a bunch of different things. I looked at manual. No luck I tried ftp -user username…
user4951
  • 10,329
  • 28
  • 71
  • 92
12
votes
2 answers

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 portion in the "[ERROR]"…
AllenD
  • 2,397
  • 4
  • 17
  • 14
12
votes
3 answers

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 echo do not use ftp. Use sftp instead. abcd.com because…
nonopolarity
  • 2,969
  • 6
  • 31
  • 41
12
votes
2 answers

How can I create users with only remote ftp access on Linux server?

I'm running a Ubuntu 10.04 LTS server and I want to create users who can only access the server from FTP. What I did so far is: Install vsftpd Create new user with default login shell set to /bin/false The normal users on the server are all able…
jmbouffard
  • 421
  • 2
  • 4
  • 10
1
2 3
39 40