Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

wget consistently failing over remote connection

I am trying to download a large data set using wget which consistently fails. For context, I am working from home and remote accessing my server using MobaXTerm. The server requires a proxy module to ...
0
votes
0answers
9 views

VSFTPD Not listing all directories

I am running into an odd situation where through various FTP clients, VSFTPD does not seem to return all directories in the directory listing. You'll see here in the FTP client that the error, ...
0
votes
1answer
19 views

Where can I find the source code of ftpd?

How can I inspect ftpd(the regular Linux FTP server's) source code on my machine? I'm using Debian 9. Unfortunately I can't figure out which exactly implementation has the package ftpd which I ...
0
votes
0answers
15 views

How can I modify a lftp command so that it copies things inside the A directory to be children of the B directory, not all from the current directory?

Why does this lftp command: mirror -R -v -P=10 --only-newer --exclude-glob=(node_modules|.git|wp-snapshots) ftp://ftp.A.ro/B/tst /D/E/html/* copy all things in the current directory (which contains ...
0
votes
0answers
31 views

How to show a progress bar for lftp script for newer version of lftp in 2020?

I have read this question and its answer, but they do not answer my question. The shell script is this: let total=$(lftp -f lftp-script-count.txt | wc -l)-2 lftp -f lftp-script.txt | while read ...
0
votes
0answers
18 views

Accessing a file over FTP

I have a file on a centos 7 server that I need to access over FTP. Not transfer, just read every time. For more details, it's a kdbx encrypted password file, that I need to access from local machines ...
0
votes
1answer
26 views

Request file checksum from FTP server?

I am downloading some large files from a remote FTP server. Is it possible to request the server to send me checksums (e.g. sha256, or related variants) for the files in question?
1
vote
0answers
38 views

Transfering files from mainframe to Unix server using shell script [closed]

There is a file that is currently present in mainframe. I want to transfer the file from Mainframe server to Unix server by executing a shell script. This has to be done using shell script as the ...
1
vote
1answer
29 views

Solaris functioning as FTP client but not as a host. Possible?

Apologies if this isn't the right forum but I need the advice of an FTP familiar engineer. For security reasons, FTP services are being shut down on our company's Solaris 5 server. The reason is that ...
0
votes
0answers
37 views

super simple FTP server for Linux

So I am having trouble with shared folders in virt-manager and would like to get around this by using FTP instead, but I am somewhat lost in configuring vsftpd - and it sounds like overkill for the ...
0
votes
1answer
20 views

Smoother access to files on FTP Server

I use Nautilus on Ubuntu 18.04.3 to access ftp server. But if I select any files, it opens in the browser first, then gets downloaded in the download folder and then I have to open that downloaded ...
0
votes
0answers
24 views

FTP Script previously working, but no longer accepting correct credentials

I have a functioning, automated FTP script that I have previously verified as functional, but as of today, when running the script, the machine is recognizing the username input, but not the password, ...
0
votes
1answer
47 views

Automated FTP Script Not Finding Source Directory

How could I modify the script below to include the source directory so that it will know which location to retrieve the files required for transfer? I have a bash script for the purpose of ...
0
votes
1answer
132 views

Testing bcache with raspberry pi 4 on ubuntu

I was testing bache on raspberry pi 4 with ubuntu. The reason I choose ubuntu that I found standard raspbian got some issues with bcache as kernel module not properly loaded. I tried to troubleshoot ...
-2
votes
1answer
36 views

bash script that find the specific folders in sub directory and create directory in all directories recursively

I'm new to bash script, I need to create sub folders under each directory containing specific name in ftp server. eg: A1/B1/Name1 | |_C1 |_C2 A1/B1/Name2 | |_C1 |_C2 A1/B1/Name3 | |_C4 |_C5 A1/B1/...
0
votes
2answers
67 views

Migration from FTP to SFTP with the same user

We will start to use SFTP instead of FTP for Tibco BW 5 application on RHEL 6. The port 22 is already open. Can i keep the same user account and directory for SFTP? If so, should i change any ...
1
vote
2answers
38 views

How to give users acces to some other home directories

I'm configuring GNU/Linux users as users for a vsftpd FTP server and I have the following safety constraints: User foo can read and write in his home directory. User bar can read and write in his ...
0
votes
1answer
26 views

Restricting users to their home-directory in FTP (ftpd)

I have installed ftpd on my Debian client and I'm trying to setup some restrictions but I'm not sure which way to go. I have 3 users: Bob Alice Max One group called: Clients And a new partition ...
1
vote
2answers
314 views

Connect to “FTP over TLS” with sftp

I have been wasting more then an hour on this now and I think this should be really simple... I have an azure website that allows me to connect and deploy to it using sftp. I can connect to it fine ...
0
votes
0answers
61 views

pure-ftpd: (?@?) [ERROR] Unknown authentication method: pam

I am using CWP for VPS server, but FTP stops working after I restart the server. before that, I have upgraded MariaDB and change hostname.FTP was working even after I upgraded MariaDB and restart the ...
0
votes
1answer
25 views

Allow FTP User to modify contents of folder owned by Oracle

I have a Oracle Linux VM with Oracle DB and APEX installed. The db is in /home/oracle/product/11.2.0/dbhome_1. In this folder there are folders specific to the APEX products: /Product_1, /Product_2, ...
0
votes
1answer
50 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
25 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
19 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
20 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
35 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
40 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
68 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
24 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
24 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
41 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
146 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
715 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
39 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
16 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
1k 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
451 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
114 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
97 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
43 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
19 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
106 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
20 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
584 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
23 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
648 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
338 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
578 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
261 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
2 3 4 5
11