The File Transfer Protocol

learn more… | top users | synonyms

1
vote
2answers
3k views

“lftp” login still possible for “/etc/pam.d/vsftpd” blocked users

I have a ftp server running on the machine 192.168.122.50 Below are the last three directives from /etc/vsftpd/vsftpd.conf file pam_service_name=vsftpd #userlist_enable=YES #userlist_deny=YES ...
1
vote
1answer
831 views

Carriage Return and Line Feed bit streams in a binary file during TFTP upload in ASCII mode

In case of TFTP, one can choose between "ASCII" or "octet" mode. As I have understood, 00001010(new-line) or 00001101(carriage return) bit streams in a binary file will get some sort of special ...
1
vote
1answer
10k views

vsftpd: 550 Failed to change directory

I'm using ubuntu 12.04. and ftp service I've installed vsftpd and it's working fine. But may I'm facing some user complexity. My system directory like: -/ --/home ----/rony --/vol When I list ...
1
vote
2answers
366 views

Implement ProFTPd server without chroot

Can I use ProFTPd without using a chroot jail (thereby preventing access to anything outside of the FTP root)? I have a requirement to have symlinks in my FTP source that point to locations outside of ...
1
vote
1answer
1k views

Hiding files on FTP server

I have an Ubuntu server and I run an FTP server on it. I changed its folder structure and want to restrict access of users to some of the files not all of them in a way that other files be hidden to ...
1
vote
1answer
1k views

How to delete the oldest file over FTP using CURL?

I am trying to write a script that will use CURL to FTP to a folder on a file server, then count the files in that folder. If there are more than 5 files, delete the oldest one. I know how to delete ...
1
vote
1answer
847 views

Backup Manager and Cron : CentOs and Ubuntu 11.10

I have two dedicated servers: one has CentOS, the other Ubuntu. I installed backup manager on both servers. But I have two different behaviors. On CentOS: The backup of my files is "every night". I ...
1
vote
1answer
782 views

How to limit ftp access to multiple places for one user

I don't even know how to write the correct question since it is a little confusing to ask it. Here is the problem. User X would like FTP access to /user/x folder and to /var/www/x folder. How can I ...
1
vote
1answer
253 views

How to ensure FTPeS uses a secure connection?

From: https://secure.wikimedia.org/wikipedia/en/wiki/FTPS Explicit: If a client does not request security, the FTPS server can either allow the client to continue insecure or refuse/limit the ...
1
vote
1answer
1k views

Why am I getting a “Listing remote folder failed” error when I try to connect with SFTP?

I set up SFTP, but I have a problem regarding iptables. Here are my rules: A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT A RH-Firewall-1-INPUT -m state --state NEW -m ...
1
vote
1answer
465 views

Need command-line program to download all of http:// https:// scp:// ftp:// style links (on e.g. ubuntu)

I'm writing a perl program where I want to accept all kinds of "file names" from the user, including /home/foo/bar.txt and scp://server/some/file.txt or whatever. And then I thought that if I can find ...
1
vote
2answers
782 views

Some FTP clients timing out on data connection to Pure-FTPd

I'm trying to connect to a server via FTP and I'm having some problems. Server is a CentOS with Pure-FTPd. My usual client is lftp which on this server gets stuck at "Making data connection". All ...
1
vote
2answers
26 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 ...
1
vote
1answer
32 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 ...
1
vote
1answer
37 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
24 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 ...
1
vote
0answers
28 views

FTP: Removing an entire directory

Is there any way to delete a non-empty directory in Linux using FTP? I am using client, and I wish to delete the directory in a remote server. I have looked into wget and curl. What do you guys ...
1
vote
1answer
1k views

Installing vsftpd - 500 OOPS: could not bind listening IPv4 socket?

I have to set up a FTP server on my machine. I have installed vsftpd using the command: sudo apt-get install vsftpd I then edited the configuration file vsftpd.conf in the location /etc. The file ...
1
vote
0answers
129 views

How to setup reverse FTP in RHEL?

Researched: http://www.thecave.info/export-proxy-username-password-linux/ http://stackoverflow.com/questions/5334110/text-based-ftp-client-settings-behind-a-proxy ...
1
vote
1answer
103 views

Super-slow LAN speed, unless downloading through Chrome's FTP client [closed]

I have connected 2 PCs using ethernet cable and set up FTP on one of them to transfer some >100GB of files. However, trying to download it, I run into a problem of speed not more than 50kB/s. It ...
1
vote
1answer
294 views

Controlling ftp access with vsftpd

I'll preface this with the fact that I'm a bit of a newb with linux and especially with vsftpd. However, I had it set up such that I was able to upload files to a VPS I set up. The only problem is ...
1
vote
1answer
136 views

Creating FTP User who doesn't get 403 on created folders/files - Ubuntu

I've got an Ubuntu 14.04 server running apache2 If I SSH in, I can create a directory and files in /var/www/html and they are served appropriately. If I FTP in with a user I setup (whose 'home' I ...
1
vote
0answers
57 views

Is it possible to edit vsftpd.conf giving ftp access to an user to only a few directories inside the server?

I want to know if a user can access multiple directories in a ftp server and no other directories. I want access to more than 1 directory. I know how to restrict access to a single directory by giving ...
1
vote
1answer
225 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 ...
1
vote
1answer
414 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 ...
1
vote
1answer
690 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
0answers
82 views

Renaming public_html for main domain to subdomain which is development website

In CPanel I created a subdomain test.mydomain.com under my main domain mydomain.com. Both domains have magento websites. The contents of mydomain.com are stored in public_html and the contents of ...
1
vote
1answer
44 views

Same ftp upload issue on any live distribution I tried

I have just installed Linux Mint Petra 16 after trying more live distributions. The problem I am facing right now, is that I can't upload anything on any ftp server. The upload speed doesn't exceed ...
1
vote
2answers
233 views

Run shell script based on IPTABLES port access attempt

Is there a way in Linux (RHEL 5-6) using IPTABLES, that if someone tried to access port 21, as an FTP user, to log what the user name they are trying to authenticate as and additionally run a shell ...
1
vote
0answers
44 views

Multi-file simultaneous downloader with live statistics for all files

(I recently asked the question "Console download accelerator that downloads *multiple* files simultaneously" and learned about lftp, an excellent program which can download multiple files ...
1
vote
2answers
123 views

FTP transfer: I can see files on remote machine, but remote user can't

I had to transfer a few videos and photoes on a FTP server. For that, the person on the remote machine gave me the IP address of that machine where I had to transfer. He told me to transfer by FTP. ...
1
vote
0answers
82 views

Failed updating posts on wordpress when use linux, but succeed on windows

I'm using Wordpress for blogging. And I use Windows 7 accompanied with Linux Mint on my PC. Recently I find that I can't update my posts on Wordpress when using Linux Mint. However, when I switch to ...
1
vote
1answer
144 views

How to ftp as root?

I can ftp to a linux server by doing ftp server But I can't do that with root. Need sftp or something or what?
1
vote
0answers
398 views

vsftpd - ftp user cannot create folders

CentOS - I have created an ftp user that can log in remotely over the internet to the vsftpd server. Now I can log in via ftp, see all the directory listings (not limited/jailed) to any directory, ...
1
vote
0answers
184 views

vsftpd on Ubuntu not obeying filesystem permissions

I'm trying to set an FTP upload to a web root on Ubuntu 12.04 using vsftp. The user has a local account, username_ftp. I changed their home to their web root in /etc/passwd. ...
1
vote
0answers
709 views

ftp server log to include more information

I am implementing the ftp server on linux box (fedora 11, vsftpd). Everything works good so far but i need Ftp server log files to contain transfer rate information. At the moment when I use "get " ...
1
vote
2answers
2k views

proftpd does not change default group for new files

I am Trying to configure ProFTPd to change group for newly created files/directories. In my config I have this: <Directory /home/*> GroupOwner www </Directory> Which does not seem to ...
1
vote
1answer
387 views

FTP Upload Hook [duplicate]

Possible Duplicate: How to run a command when a directory's contents are updated? I need to be notified and perform other tasks when a file is uploaded onto my server. Is there any ...
1
vote
4answers
3k views

Remove directory in ftp

This is probably very simple, but I really can't get it to work. I have an old directory with a symlink in it. I need to delete the directory, but it says it is not empty when I try: rm -f dirname ...
1
vote
1answer
706 views

Creating a proFTPd user

I'm setting up a proFTPd server so I can upload files to my webserver, but I've never tried this before. I've installed proftpd, added a user with a home folder: /home/FTP-shared and added /bin/false ...
1
vote
0answers
166 views

FTP server - directories

I have been playing around with several ftp servers and can't get the configuration I want. I want to allow both anonymous and standard user login, user logins are fine with the default pure-ftpd ...
1
vote
0answers
288 views

Unable to connect by FTP to a Debian AWS server (ami-aa46b4c3)

I've launched an AWS instance with the image debian-6.0-squeeze-i386-server-20110323 (ami-aa46b4c3) and I am trying to set up a FTP server. I have tried several ftp servers but nothing seems to work. ...
1
vote
1answer
2k views

Setting permissions with FTP

I'm having some issues setting up permissions for FTP. Read another thread on here regarding it, but I wasn't sure if it really matched what I needed. Essentially, right now I've got the client's FTP ...
0
votes
3answers
605 views

Running a bash script each time a file is uploaded? [duplicate]

I have an FTP server (Debian) setup where users send JPG images. I need a process running on the background that every time a picture is sent via FTP a bash script is executed for generating ...
0
votes
1answer
151 views

how will I make interactive login

I'm having trouble in making script with interactive login. I have made one but it doesn't ask the login, it automatically log in when i run the script. i just need the output like this: please ...
0
votes
2answers
250 views

FileZilla will not start on Slackware

I think it was because I tried to install. Slackware txz 13 and mine is 14.1 64 bit, but I do not know where baicho package for Slack 14.1 can someone help me?
0
votes
1answer
134 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
734 views

Create a fake shell in Linux?

I am not talking about shell programming or making a whole new shell like Bourne or Korn Shell.... I just want a user accessing ftp through port 21 to be directed to this shell which can support some ...
0
votes
2answers
184 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
64 views

Unable to delete files via FTP?

I have a couple of FTP users who can access my (pseudo) server running vsftpd under Mint Linux. They are restricted to a specific directory and below via chroot(). Whilst they can access the files ...