Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
0
votes
0answers
22 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
28 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}* ...
-1
votes
1answer
46 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
22 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
10 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
22 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
36 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
45 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
41 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
22 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 ...
0
votes
0answers
23 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
13 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
11 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
14 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
83 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
13 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
108 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
63 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
75 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
101 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
22 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
167 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
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
1answer
44 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
52 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
25 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
38 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
122 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
1answer
2k 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
35 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
208 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
20 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
128 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
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 ...
0
votes
1answer
22 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
71 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
19 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
278 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, ...
3
votes
2answers
262 views

Wget multiple FTP files without re-logging in on every file

Lets say there's a ftp site with a bunch of files I want to download - ftp://ftp.example.com, and they allow for an "anonymous login" over FTP. Suppose that ftp://ftp.example.com has file1.zip, ...
1
vote
2answers
373 views

Using wget on a directory outside the user's home directory

I'm trying to mirror a directory via FTP with wget. The command I'm using is wget -m ftp://user:pass@192.168.1.1/foo/bar/ But, when I run it, I get the following: --2018-10-10 15:01:32-- ftp://...
0
votes
3answers
420 views

Creating a simple FTP server

I'm a bit confused about the terminology for Linux FTP servers. I'm just attempting to set up a simple FTP server. I thought was accomplished by FTPd but there seems to be no client/server for FTPd. ...
-1
votes
1answer
244 views

How to transfer files from remote server to local machine when ssh'd in to remote server

I am trying to transfer files from a remote server to my local machine using FTP. I am ssh'd on to the remote server and want to connect to my local machine. The remote server runs on a Linux ...
0
votes
1answer
134 views

Docker container upload permission

I started to play with docker. I'm using: https://laradock.io/ for my laravel project. So I have docker on my laptop (making server out of it) which is connected to the same network that my desktop ...
-4
votes
2answers
34 views

FTP to download file from one linux to another

I would have an exam in few days about basic stuff on linux(I'm not familiar with linux therefore I'm studying for it). There would be two linux machines VM1 and VM2 on VMware, that connect via ...
0
votes
1answer
832 views

Renaming a file on FTP server with a timestamp variable

From my linux machine, I connect remotely to an FTP server using the following command: ftp ftp://USERNAME:PASSWORD@FTPSERVER/array1/DIR1/DIR2/ In this DIR2 there is a file called running_config ...
1
vote
2answers
98 views

Transferring file from local computer to remote server

I would like to transfer a zip file from my local server to a remote server. I used the following command which contain host, port, and username as follows: scp "$somepath/${file}.zip" "$ftp_user"@"...
1
vote
1answer
382 views

Why would an lftp mirror operation slow down over time?

I have CCTV server that is backed up daily to a remote ftp server using an lftp command. The CCTV server saves videos to a new folder each day, the backup runs once a day at 1am, so each backup only ...
0
votes
0answers
14 views

Output data directly to MTP/FTP storage?

My phone (only MTP data access) has a MicroSD card inserted into it Now, I wish to save a ddrescue disk image directly onto it while the phone is connected to the PC.That disk is not damaged at all, ...