The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
-1
votes
0answers
15 views

proFTPd with MySQL support, cannot change directory ('CWD' command)

I followed the tutorial “Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Fedora 9” (https://www.howtoforge.com/virtual-hosting-with-proftpd-and-mysql-fedora9) to install proFTPd on Red Hat ...
0
votes
1answer
35 views

What happened to the “-4” option for command line FTP?

It used to be that you could force command line FTP to use IPv4 like so: ftp -4 ftp.example.com However, at some point in the relatively recent past the "-4" (and for that matter, the "-6") option ...
0
votes
0answers
23 views

Is it posible to automatic change password for a synology user everyday?

So my question is if its possible to change a password for a user/ftp user every day and save it or email it out. We have an FTP public user that we want to have dynamic password change every day so ...
0
votes
0answers
17 views

Is there an easy way to restrict users to their home directory using NFS?

With FTP you can configure the vsftpd.conf file and use "chroot_local_user=YES" to restrict users to their home directory. Is there a way to do something similiar but with NFS? (network file system) ...
1
vote
0answers
17 views

How can I set the FTP prompt?

I using Ubuntu 18.04 from WSL and using the default Ubuntu FTP client. The man page mentions setting $FTPPROMPT which I have done in my .bashrc on my local machine and then sourced that file. $ echo $...
3
votes
0answers
29 views

Restrict special user and host of the ftp in the Linux Instance

I am using WinScp for connecting FTP to a Linux Instance and I want to restrict special user and host. I installed plesk on my Linux EC2 instance and I thought it uses proftpd for ftp service and ...
3
votes
1answer
33 views

Restrict special user and host of ftp in the Linux Instance

I am using WinSCP for connecting ftp to Linux Instance and I want to restrict special user and host. I install plesk on my Linux Ec2 instance and I thought it is using proftpd for ftp service and ...
-1
votes
1answer
23 views

Need help with firewall - Accept FTP connections from outside

I am hoping you can help out. Our DevOps guy is out of the office at our agency and our partners need access to our FTP. We have it locked down to our office but need to open it so that people outside ...
0
votes
0answers
19 views

Error while copying a file from source to destination server

I'm getting the below error while trying to copy the file from a remote server to another server using ftplib(jenkins job).In my local it is working fine. In the Python code i'm downloading the text ...
0
votes
0answers
19 views

FTP transfer shows complete which is not true

We have linux machine and we see while doing FTP from the Client to the FTP Server it comes out saying complete as follows but it uploads only some portion of the file. I don't see any broken error ...
0
votes
0answers
31 views

How to look for directory in http address

I'm trying to create a regex formula in shell script which will allow me to find desired folder in HTTP directory. Let's assume that this is the address: ftp://google.com/directories/ In this ...
0
votes
0answers
82 views

FTP listing files (ls) with dynamic date YYYMMDD pattern

Following a previous answer I'm trying to list the files on an FTP server that match a pattern, as shown below event_date=`date +%Y%m%d` ftp -n XX.XX.XX.XX <<END_SCRIPT ls *${event_date}* ...
-2
votes
1answer
180 views

ftp: connect : Connection refused error in Debian

I'm new to virtual machines. I'm trying to connect metaploistable machine from debian machine through ftp. But my Debian machine is refusing to connect. The following image shows the commands typed ...
0
votes
1answer
23 views

adding FTP user without changing owner of directory?

Sorry, but this is probably a terribly stupid question. I'm running a Linux2 instance on AWS. I have a number of sites running there, including a couple of wordpress sites. One of the sites wants an ...
0
votes
0answers
12 views

Grant permission to ftp user in other directories

I need a user that I created in my ftp server to access other directories. Example, the tech user was created in the following way: useradd -s /sbin/nologin -c "FTP user for mail accounts" -G mailg ...
1
vote
1answer
268 views

Transferring files via Binary mode in SFTP

While using FTP we can use the option bi to transfer files in binary mode however I am unable to find similar option in SFTP. Please find my code snippet below.. fileTransferToDEST() { echo "mput $4/$...
2
votes
1answer
106 views

Check if the file has been successfully transferred to the destination with SFTP

We have a daily process which moves file from 1 server to another via FTP using a script. Please find the snippet below: fileTransferToDEST() { ftp -inv $DEST_IP 1>$2 <<END_SCRIPT quote USER ...
0
votes
1answer
69 views

File is not sent via ftp - error: “The parameter is incorrect”

This is the bash code: ftp -n <ftpadress> <<EOT <credentials> binary put $pathfile$reportfile $remotepath$reportfile put $pathfile$logfile $remotepathlog$logfile quit EOT This is ...
0
votes
1answer
56 views

RH 7.5 Linux using curl with sftp to pull multiple files ending in a particular file extension

I am in a Red Hat Linux 7.5 environment. I am trying to write a curl script to pull/receive any file from a folder that ends with a particular file extension. Previously, I have written a script to ...
0
votes
0answers
24 views

Hide folder that user uses currently

I'm searching for a ftp server or any idea to achieve hiding folder from others when somebody is working in it. For example: I have 3 folders: A B C when I working in A, anybody who is also connected ...
1
vote
0answers
32 views

How can I lock an FTP user to their home directory?

I have found some help regarding locking an FTP user to their home directory, but after following steps, I find I'm still able to run cd .. and exit that directory and browse the file system. I'm ...
0
votes
0answers
15 views

Errors uploading files using an ftp client written in C using sockets

I wrote an ftp client in C using sockets, and a convenient API made by hubenchang0515 on GitHub called libftpclient. I followed the demo.c file shown in the repository; when I'm using the put command ...
0
votes
0answers
35 views

Run 2 instances of vsftpd and in the second instance have users accessing to their own home folder

I need to run 2 vsftpd instances, which one is used for admin purposes and the other one for granting access to users (virtual users should be better) who should be able to access only to their home ...
0
votes
0answers
15 views

Storage object access with docker FTP getting error 550

I'm actually using an object storage from scaleway. I want to be able to access it with ftp and be able to do some action. Right now I can access and view files/folders from it, but I can't do action, ...
0
votes
1answer
248 views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
0
votes
0answers
17 views

curl command - any option for site RDW and site SDB

I have an ftp command and i want to change it and use curl instead, but i am not able to find any options for site RDW and site SDB. Is there a solution? My ftp command is similar with: ftp ...
1
vote
2answers
262 views

How can I install a package on OpenBSD?

I installed OpenBSD and then proceeded to download firefox using the PKG_PATH environment. It worked and seemed to run reasonably well but then, wanting to try another browser, I deleted firefox ...
0
votes
1answer
143 views

Can we use ftp in place of tftp in pxe boot

Tftp is used to get OS image from pxe server to client as it uses UDP for file transfer. But can we use ftp for the same. If yes then how and if no then why?
0
votes
1answer
255 views

Host refused connection when using ftp

I need to connect to my server using FTP, but connection refuses. I have been using SFTP that is working just fine (both locally and externally). Using linux debian. I am able to login with ftp ...
0
votes
0answers
164 views

FTP LIST command hangs in passive mode

Entered ftp server with anonymous credentials, and got the response that I logged in successfully 230 Login successful. Want to list all files in current directory, issued LIST command, the server ...
-1
votes
1answer
29 views

Transfer localhost:8081 to my Webserver via FTP

I have a raspberry pi with motion installed. I have a mjpg at localhost:8081 and want to transfer it to an other webserver on the internet, so it's kind of a relay. I don't know where to find the mjpg ...
0
votes
1answer
40 views

FTP not giving permission for actions for user that has permission

I have a user on my server (Debian) that I will be using for FTP. For a given directory on the file system, he is able to create directories/create files. myuser@debian-server:/storage$ su ...
-1
votes
1answer
544 views

LFTP - Remove files from remote server while uploading via lftp mirror --reverse

I'm using a shell script which executes lftp mirror --reverse to upload files and directories to a remote server. Just before that it removes everything using glob -a rm -r -f *. The problem is, it is ...
2
votes
0answers
117 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
1answer
56 views

How can I give a Linux FTP server a domain name?

I have a computer running Arch Linux headless with SSH server and proftpd server. It's for a personal use. But it's a bit annoying to run the IP address every-time to connect to it. Can I give it a ...
0
votes
0answers
67 views

How to hide “Up to higher level directory” header in ProFTPD?

I have Debian 9 with configured ProFTPD server version 1.3.5 with anonymous access. When I am logging to my ftp server from another PC I see "Up to higher level directory" header. Is there any ways ...
0
votes
1answer
30 views

Access denied to ProFTPd on LAN interface

I am having this super weird access denied issue on my home FTP server. The symptom is I can only access it through the wireless interface. When disabling the Wifi, and use ethernet, I got access ...
0
votes
1answer
44 views

Prevent FTP users from moving directories

I'm essentially trying to disable the mv command for FTP users on my CentOS server. I was thinking of editing their .bash_profile file and using this: alias mv="" But that feels system breaking. ...
0
votes
0answers
170 views

Able to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

I tried connecting to my FTP server (vsftpd/CentOS 7/Alibaba Cloud ECS) from my Window 7 system installed on a VirtualBox using FileZilla, and it seems to be working fine. But in my default system, ...
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 ...
0
votes
2answers
3k views

How to login to SFTP server using pem file which have password?

I have given below details of an SFTP server to login. ipaddress, username, password, port(8800), password protected ppk file. I tried the following command to login to server but unable to connect.(...
0
votes
0answers
37 views

Securing an open FTP on FreeBSD for visitor wifi speed testing?

I'd like to add a really simple local FTP server to my FreeBSD system, to allow guests to do wifi speed testing. Because of the use, I don't need more than very basic functionality - anon R/W to a ...
0
votes
0answers
289 views

Chrooted upload-only SFTP account - what requests to blacklist/whitelist?

I'm trying to make a chrooted SFTP account which could allow only upload of files into an unique directory - ie. /upload/$timestamp. Let's imagine that it is a shared upload account where one can ...
0
votes
0answers
24 views

error GnuTLS -110 when disconecting from encrypted FTP

I have problem when I am trying to logout from FTP server which use encryption, I've got error GnuTLS -110 connection was not terminated correctly. I have this problem only on Manjaro/Arch linux. ...
0
votes
0answers
193 views

schedule auto backup the directories from Centos to FTP server

i have three Centos server i want to schedule autobackup some directories to my FTP server ,FTP is already installed in all servers, i want to use crontab for schedule the backup but the SH files is ...
1
vote
0answers
113 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 ...
0
votes
1answer
24 views

Deny specific users in VSFTPD

I have Ubuntu 18.04 LTS with VSFTPD. I want to deny certain users from connection via SFTP to my server. So far I have only found Q&A (here on stackexchange and on the internet in general) ...
-2
votes
1answer
83 views

Shell script with password that starts with ( [closed]

I have a shell script that opens ftp, then passes on the user ID and password. The password starts with ( and the server does not like it. It errors outs with a failure to log in message. How can I ...
-1
votes
1answer
35 views

How to calculate how much data is in ftp folders recursively

I would like to know how much data is in a remote folder (recursively) under ftp (from the command line). Wondering how to do that. Something like: sizeof -r ftp://domain.com/foo/bar/*
0
votes
0answers
331 views

How to set up the directory of an anonymous vsftpd server

I have set up a vsftp server with anonymous access. vsftpd.conf contains the following: anon_root=/var/www/ftp/ secure_chroot_dir=/var/www/ftp local_root=/var/www/ftp After login in as anonymous, ...