Questions tagged [ftp]

The File Transfer Protocol

140 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
242 views

ncftpput don't create parent directory

I am trying to upload multiple directories recursively to an FTP server, (and FTP is the only way). Say I have the following environment: Remote: / /remote-files/ /readme.txt Local: /my-website....
3
votes
0answers
671 views

If I restart xinetd service , does it impact the currently active FTP connections?

In my Linux system FTP server is running from xinetd . I want to make a configuration change inside the /etc/xinetd.d/ directory for the FTP server launch with respect to the arguments passed to the ...
2
votes
0answers
69 views

Kernel modules for iptables ftp forward

I have two ARM devices connected to each other with TCP/IP, one of them is connected to my network, on the other one is FTP server. I'm trying to set up port forwarding to ftp using conntrack and ...
2
votes
0answers
190 views

wget regex options ignored over ftp

Wget specifies the --accept-regex and --reject-regex options for limiting recursive downloads. I'm unable to get them to work with an ftp connection. For example, I would expect --reject-regex='.*' ...
2
votes
1answer
1k views

Unable to transfer files (put) using ftp or filezilla from windows to ubuntu VM

I've setup a ubuntu 64 bit VM (16.04) using Oracle VirtualBox. Using ftp, I am able to connect to the VM. I am also able to list (ls) the contents of the folder. However I am unable to put files to ...
2
votes
1answer
285 views

Can't list big directories with pureftpd

I installed pureftpd on a VPS (ovh). I can list a small directory (by small I mean a directory with just some files) but if I try to list a big one containing maybe thousands of files, including ...
2
votes
0answers
393 views

Client FTP log to include commands sent from session via KSH script

I'm trying to get my ftp log to include the commands I'm pushing in as well as the output it receives as the session proceeds. I have the following so far: /bin/echo '***** START OF FTP PROCESS *****'...
2
votes
2answers
2k views

vsftpd closes conntion with code 421 when listing directory content

I am currently struggling with some kind of connection problem with vsftpd. I am using an arch linux and have vsftpd version 3.0.3 installed. I don't use iptables or anything. When I connect to my ...
2
votes
0answers
90 views

I am not jailing my users well in VSFTPD (CentOS7)?

I have installed vsftpd and it is working properly, but my problem remains in that I only want to use the /ftp partition, and I have added to the end of the /etc/vsftpd/vsftpd.conf file this: ...
2
votes
1answer
316 views

How to do a bootable full backup of Debian root server to a cloud drive

In the past I was running a server with RAID-1 and experienced the phenomenon that both drives were damaged at the same time (while in holidays). I had a backup of my data partition, but with that of ...
2
votes
0answers
203 views

Proftpd Problem user account

I have problems with one proftpd server. I use two authentication methods, anonymous and user authentication at the same time. I modified the proftpd.conf to authenticate against the /etc/proftpd/...
2
votes
0answers
1k views

ftp failing to retrieve directory listing

I'm trying to connect to my ftp server but I'm getting Status: Disconnected from server Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Status: ...
2
votes
0answers
720 views

ftp: Illegal PORT command with ls on Linux, but not OS X?

I'm getting strange errors with ftp on Linux (Arch, to be more specific, as part of the inetutils package). To be truthful, the reason I'm using the shell command is because all of my other clients ...
2
votes
0answers
38 views

download rate limiting based on network usage

I have a Debian Wheezy (Open Media Vault) server with a few different downloaders working most of the time. (Primarily FTP) I would like to be able to adjust the download limits of this server based ...
2
votes
1answer
949 views

permissions on ftp'd files don't seem to match umask

I've read several postings indicating that ftp respects the user's umask. I don't see that that is the case. this is what happens on my server X when I FTP a file from SystemX, to SystemX. SystemX is ...
2
votes
0answers
578 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 ...
2
votes
0answers
858 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
2
votes
1answer
571 views

Bash script for logging in ftp

I have seen this question: link I have similar, if not the same request. I'd like to create a script that will log me in ftp server. I do not want to automate the whole exchange, I just want to speed ...
2
votes
1answer
2k 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 ...
2
votes
1answer
1k views

How to edit files with VIM through FTP

I'm trying to use: vim ftp://user@hostname// - this gives me a correct directory tree, but when I try to open given file, by pressing Enter, at the first time - nothing happens (just cursor jumps to ...
2
votes
0answers
304 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 test....
2
votes
0answers
624 views

vsftpd: Passwordless authentication to different directory

I am configuring a vsftpd server and the requirements are: I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done) I ...
2
votes
0answers
1k views

Permissions for Apache and FTPd users

I'd like advice about permissions on directories and files on a web/ftp server. Here is my situation: Debian Server with those user:group userme:userme for SSH www-data:www-data for apache/php ...
1
vote
0answers
17 views

Treat Symbolic Links as Folders in Nautilus FTP

I have a Pure-FTPd server running with the virtualchroot-enabled binary. When I connect to the server with FileZilla, FileZilla shows a link overlay for symbolic links that point to folders, but I can ...
1
vote
0answers
79 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. passwd: testftp:x:1001:1001::/home/testftp/:/bin/bash ...
1
vote
1answer
364 views

Security implications of chroot()

I want to setup a small FTP server for personal use, and decided to use vsftpd for that. I thought that I should enable chroot_local_user, so users are chrooted to their home directory upon login. ...
1
vote
0answers
699 views

how to make cURL send AUTH command for FTPS?

this is causing headache for a long time now. Situation: i have a virtual machine that sits behind a proxy that shields it off the internet. The Proxy seems to work fine. I want to use cURL to ...
1
vote
1answer
28 views

Curious (possibly dim) question on ftp

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the ...
1
vote
1answer
504 views

FTP, download files by wildcard search criteria

I need to download a series of files over ftp on a command line. The server I am downloading from has a folder structure which is like so: /path/to/file1/abcfile111def /path/to/file1/abcfile222def /...
1
vote
0answers
195 views

Prioritize UDP over FTP, SCP, etc. in Linux

I have a setup wherein one "master" Linux system communicates with 3 "slave" systems also running Linux on a dedicated Ethernet interface(just the master & the 3 slaves). The slaves send data to ...
1
vote
0answers
2k views

vsftpd works with ipv6 but not with ipv4

I am running an ftp server via vstfpd. /etc/vsftpd.conf: listen=YES #listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES use_localtime=YES xferlog_enable=YES #...
1
vote
0answers
398 views

Uploading a webcam stream via ftp in realtime

So here's the situation. I'm trying to build a watching program for my linux box with an inbuilt webcam, that starts recording when motion is detected, and uploads the recording to my domain. Motion ...
1
vote
0answers
535 views

LFTP --exclude prevents log file creation

Is there a way to use advanced features like --exclude and still keep xfer:log-file "lftpbackup.log" capabilities? I read manual at http://lftp.yar.ru/lftp-man-alt.html also lftp.yar.ru wiki, ...
1
vote
1answer
683 views

Setting up an FTP proxy on Squid

I haven't used squid in a while so I wouldn't be surprised if I am off on the configuration. But essentially, I am trying to set up a proxy server with Squid so that I can do this: Client (my local ...
1
vote
0answers
96 views

Log in as unix user using password stored in htpasswd

I know this is possible to log in vsftpd using htpasswd (libpam-pwdfile) but in every tutorials I read, they use virtual user. My users are not virtual, they are local user I added using "adduser" ...
1
vote
0answers
260 views

Add user as web-admin CentOS Linux 7

First of all, I'm a newwbie on Linux and CentOS. My webserver is on CentOS Linux 7 and different sites/domains under: /home/username/www/site1 /home/username/www/site2 Where "username" is my ...
1
vote
0answers
48 views

how to warn about user quotas of ftp user in a /sbin/nologin shell?

how would i do a check through a perl script or bash script remotely and throw a warning if the ftp upload size beyond the limits specified for that user. only ftp login is allowed for the remote ftp ...
1
vote
0answers
39 views

FTP connection issue in UNIX

So cisco intrusion prevention system(IPS) runs on UNIX platform. we have been facing this FTP issue where the three way handshake gets completed, the ftp sends a FTP 220 request to the IPS. But the ...
1
vote
2answers
695 views

unable to extract file which is uploaded to FTP server

Source System: CentOS 7 bash shell zip Destination System: FTP server CentOS 6.4 bash shell unzip I wrote a script to archive file and send it to FTP server using shell script #!/bin/bash # ...
1
vote
0answers
87 views

Way to fake server-to-server FTP transfer?

Server A is production, Server B is staging. We're not using full version control, but need a simple way to drag and drop a few files from B to A. I understand I could use FXP, but the server doesn't ...
1
vote
0answers
395 views

Using proftpd, how do implement directories to show up in home folder?

So the thing is I have setup a home directory on proftpd using GADMIN-proftpd frontend. I tried doing system links onto the setup directory however they aren't recognized as shortcuts on my android ...
1
vote
1answer
148 views

Why do I get different results during ftp communication when using ls filename and ls./filename

I am connecting to a proftd server as client and try to list files. I use ls command with two different parameters: ls filename ftp> ls test.txt 229 Entering Extended Passive Mode (|||41257|) ...
1
vote
0answers
592 views

Copies to NFS server write to mount point, not to mounted drive

I have a drive mounted at /home/ftpuser/uploads, and the /home/ftpuser folder is also exported via NFS. FTP uploads to the uploads folder work as intended. If I unmount the drive, the files disappear, ...
1
vote
0answers
677 views

Quick command-line FTP server?

With newer PHP command line, I have a "quick" HTTP server - I simply go to a directory, and issue: php -S localhost:8000 ... and then that directory becomes "root" of a "webserver filesystem" being ...
1
vote
1answer
162 views

apache dies when I FTP to server as that user

I have an odd one. A RedHat 7 server, with an apache server that runs just fine. I can start it with systemctl start httpd. Developers had me run it as a different user (intersys instead of apache). ...
1
vote
0answers
1k views

ECONNREFUSED vsftpd on ubuntu 14.04

I am running vsftpd on my Ubuntu 14.04 server. I can easily connect to the ftp server when I'm on the same network and connect to it using its local ip. I use to be able to connect to it using my ...
1
vote
0answers
37 views

FTP Server Allowing Public FTP Users When Are Restricted

I'm configuring FTP on a Centos 6.5 Machine, First I disabled Firewall & SELinux on Machine With Relevant Commands. Then installed FTP Via Yum, enabled service on boot & in running session ...
1
vote
0answers
825 views

ftp: connect: The file access permissions do not allow the specified action

cannot ftp through port 21 Get below error when trying to ftp ftp: connect: The file access permissions do not allow the specified action. Has any one came across above error and having any ...
1
vote
0answers
773 views

vsftpd 2.2.2 - 500 OOPS: priv_sock_get_cmd

I've installed vsftpd to access the machine over ftp however I'm getting the error below: >>> USER username <<< 331 Please specify the password. >>> PASS *********** &...
1
vote
1answer
3k 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 ...