Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
0
votes
1answer
187 views

Debian backup files after chmod 770 in /etc

I broke my debian permissions by doing: chmod 770 /etc as root. I know its almost impossible to fix this without reinstalling but is it atleast possible to backup the files I created? I still have ...
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 ...
0
votes
1answer
97 views

centos 6 ftp server -R not working when user create a newfolder on their folder

i am used chown -R it:it /home for the admin user it for home folder. under the home folder many user i created like dhaka and folder name dhaka. chmod -R 777 /home chmod -R 777 dhaka:it /home/dhaka ...
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
400 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 ...
0
votes
1answer
2k views

FTP Permissions in Linux (vsftpd)

Let's suppose I have a user called user1 and his home directory is on: /home/user1. All files on that directory need to be 750 (chmod -R 750 /home/user1). I installed vsftpd so I can manage my files ...
1
vote
0answers
536 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, ...
0
votes
0answers
362 views

Cannot connect to VM from Mac using FileZilla

In my Mac, I create a VM(CentOS) via VMware Fusion.I want to use FileZilla to load data from Mac to the VM like WinSCP. I use the ifconfig get the VM's ip:192.168.220.128 I ping the ip in my Mac ...
2
votes
2answers
1k views

HaProxy 1.5.8 to FTP server

I have been at this a few times and have become completely stuck in configuring this. Currently, I have this set up for an FTP server: Local PC (My MAC) -> AWS EC2 (HaProxy) -> FTP Server Here's a ...
1
vote
1answer
685 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
1answer
625 views

While stop working active mode FTP after change server port

I'm using proftpd on my server (ubuntu 16.04 x86_64). Default proftpd use standart 21 port. I can connect from my home notebook to ftp with active mode without problem. Now I stop proftpd, change ...
1
vote
1answer
4k views

Prevent FTP users from being able to navigate to directories above their home

I created a user on Centos 7 via webmin and pointed /var/www/html/ page as their home directory so when they log in they start from there. However, I logged in myself and realized that they can ...
0
votes
3answers
15k views

Centos: VSFTPD not Starting

I have a minimal install of Centos in VirtualBox. I want to run a ftp service to share files between the host and my VM, and then learn about ftp servers. I installed vsftpd and changed the vsftpd....
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 ...
0
votes
0answers
111 views

How to make chroot work for vsftp when client accesses ftp from a Windows or Mac machine?

I setup vsftp on a server with chroot enabled so that users cannot get out of their home directory. This works when the client accesses the ftp server from a Linux machine. But when a client ...
3
votes
1answer
1k views

Restrict access for a RedHat user to one directory

I am using RedHat Gnu/Linux I have a group of 10 users, and I'd like to restrict the access to all of them. Here are the rules I'd like to respect for them: For each user user_i, there is a folder ...
2
votes
0answers
395 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 *****'...
3
votes
2answers
331 views

FTP on Linux RH — stuck at 150 Ascii

We have 2 linux RH servers, that were configured the same way. Same OS version, same ftp client, etc. The ftp client that we had installed is located in this website. http://rpm.pbone.net/index.php3/...
0
votes
2answers
618 views

Scripting a file move on an FTP Server

I'm attempting to move multiple files on an FTP server to a different directory. So far, I've written a bash script that will login and retrieve any new files in the remote directory but the ftp ...
2
votes
1answer
987 views

curl: (25) Failed FTP upload: 553 to vsftpd docker

I'm running you container and try to send files using curl but it fails. Running the container export FTP_USER="test" export FTP_PASSWORD="test" docker run \ --name mock_ftp_server \ --...
4
votes
1answer
1k views

anonymous vs. guest logins in vsftpd?

What's the difference between anonymous and guest logins in vsftpd? Both can be enabled/disabled: anonymous_enable= guest_enable= Both are mapped to a different username: ftp_username= ...
1
vote
1answer
168 views

Want to run and connect to a lightweight FTP server on my own machine

I'm writing a bash script which automates the downloading of files from an FTP server depending on certain conditions. For testing I need to be able to connect to an FTP server, list the files there, ...
1
vote
0answers
97 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" ...
0
votes
1answer
3k views

Simple question: lftp not writing to $LOG — what am I doing wrong? [closed]

I use a script for work that invokes lftp to mirror a directory: #!/bin/bash HOST='ftp.example.com" USER='pretenduser' PASS='pretendpass' TARGETFOLDER='/home/pretenduser/Dropbox/lftp' SOURCEFOLDER='/...
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....
0
votes
1answer
44 views

FTP download question

An embedded device, running eCos OS, with FTP Lite Client. I want download file from device to local PC via FTP during terminal session. FTP transfer initiates device, it ask to specify the FTP IP ...
1
vote
1answer
2k views

Not able to upload as anonymous user in vsftpd

I have vsftpd running on Ubuntu 16.04 LTS. During installation a ftp user is created with a home directory of /srv/ftp and hence this is the default FTP directory. Here are my vsftpd.conf file ...
2
votes
0answers
363 views

Owner & Group getting changed to 0? [closed]

Using Cyberduck for FTP and a Linux server. I'm getting Server 500 error [an error occurred while processing this directive] on my website files (which are all public, set to 755 on folders and 644 ...
1
vote
0answers
262 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 ...
0
votes
1answer
697 views

Linux permission for ftp user

I have created a ftp user called " ftp_user " but whenever something is uploaded or created via this user, the permission becomes 600 and the group owner also changes to ftp_user This makes it ...
1
vote
1answer
635 views

How to send a file to an FTP server that doesn't properly terminate the connection on success?

(moved from SO) My goal is to upload a file to an FTP server in an embedded device. The file is a configuration file. Once the file is accepted, the server reboots. What makes this a challenge is ...
3
votes
0answers
672 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 ...
3
votes
1answer
78 views

how to send native ftp words to one ftp server?

if I connect to my ftp server using ftp command i'll have only a prompt waiting for me to enter one of the available commands listed using help, I am not newbie that much to believe those commands are ...
5
votes
3answers
294 views

Limit FTP connections by area

Is there any (simple) way to deny FTP connections based on the general physical location? I plan to use FTP as a simple cloud storage for me and my friends. I use an odroid c2 (similar to raspberry pi ...
4
votes
1answer
10k views

Added a user with adduser, but can't login with that user through FTP

I'm setting up and FTP server, and I want to be able to login myself and do whatever I want, but if I want others to connect to my server, I give them credentials that restrict them to the home ...
0
votes
1answer
31 views

What is the function of this “user user@domain anywhere” in an automated ftp script?

I've come across the following line in a script (hostname has been changed) open ftp-proxy.hostname.ac.uk user adduser@admin.hostname.ac.uk anywhere Is the second line just logging in the user as ...
5
votes
1answer
2k views

allow access to a symlink when chrooted on the home directory

I have user that have a symlink to somewhere in the computer like this : # ls -ltr /home/guirec0 total 4 lrwxrwxrwx 1 root root 24 Jan 9 17:56 int -> /disk2/clients/optik/int drwxr-xr-x ...
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 ...
0
votes
0answers
49 views

what can cause a ftp file upload to fail in a working ftp setup?

We have a system where files are processed and uploaded on another server. I found that one of the uploads failed out of 1000 uploads. size is not an issue since there is sufficient space available. ...
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 ...
1
vote
1answer
1k views

Installing ftp without internet access on RHEL 6

I am looking to install ftp (client) on my RHEL server. I can't access the internet directly, so I need to d/l the package. I have downloaded ftp-0.17-17.2.x86_64 from redhat, and it is telling me: ...
0
votes
2answers
63 views

CentOS 7 Share a file on my network so anyone can download it

I wanted to share a tar file on my server so that anyone on my network can download it. For example, I would give them a link like 192.168.2.2/windows.tar They should be able to download it from ...
0
votes
1answer
146 views

upload x bytes using ftp/http

Is it possible to upload a specific number of bytes (binary data) to http/ftp server using linux command?
1
vote
1answer
2k views

php: compiling with openssl, ftp, ldap, curl support in debian gnu/linux

I'm trying to compile php 5.2.x in debian gnu/linux: ./configure --with-ldap --enable-ftp --with-apxs2 --with-mcrypt --enable-bcmath --with-bz2 --enable-calendar --enable-dba=shared --enable-exif ...
1
vote
2answers
2k views

FTP server (VSFTP) “write_enable=YES” configuration per user

I'm configuring an FTP server on an embedded Linux system. Iv'e set in my /etc/passwd a number of local users, for example: UserA:14:50:FTP User A:/somepath:/bin/sh UserB:1000:0:FTP User B:/somepath:/...
4
votes
1answer
2k views

What are the dangers of having writable chroot directory for FTP?

People around the net are all yelling how insecure it is to have writable root FTP directory, if you configure your FTP server with the chroot option (vsftpd won't even run). I miss the explanation ...
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: ...
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 ...
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 ...
11
votes
1answer
20k views

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 ...