Questions tagged [ftp]
The File Transfer Protocol
598
questions
-1
votes
0
answers
37
views
Current FTP synchronisation tools
I have access to a very basic FTP server that doesn't have any synchronization software installed on it (so, for instance, unison is ruled out).
In the past, I have used
weex,
lftp_mirror
but those ...
0
votes
0
answers
60
views
How can I check with a command line tool if a file exists on a remote FTP server?
There is an FTP server where there is a directory in which images reside. There are numerous images (approximately 10000 images). When I try to check it with Total Commander, for example, it cannot ...
1
vote
0
answers
68
views
FTP & WGET remote file upload fail [closed]
I'm using virtualbox with kali linux installed.
While on SSH shell, i used wget to upload resources from my host machine but it's failing, FTP put command fails too.
The following are the command ...
0
votes
0
answers
54
views
ftp listing display a different formatted time
When using the ftp client on Linux (CentOS 7), the modify time is not formatting as desired when using the ls command. The modify time when listing files differs from when the file was uploaded.
With ...
0
votes
0
answers
48
views
Problem with connecting to FTP server based on linux
I cannot connect with my FTP server using any user of my domain.
The problem I receiving after correct login is
331 User debian OK. Password required
PASS ********
530 Login authentication failed
...
1
vote
1
answer
60
views
can we run ftp or sftp from single user account?
I have installed ftp and sftp on my linux mint system, for wordpress file transfer
I had to create new user account for ftp and sftp on my system during the installation process.
Is it possible to run ...
0
votes
0
answers
55
views
How to use lftp to mirror all directories with the same name in source and target
I have folders with the same name on the server and local, where the local folders occasionally update with new files.
I have been using mirror -R local/folder/a/ remote/folder/a/ to individually ...
0
votes
1
answer
270
views
How to enable port 21 with vsftpd
I can connect to my ftp server with port 22.
but I think port 21 is not active.:
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
ufw status
Status:...
0
votes
1
answer
31
views
What's the error on my anonymous ftp server? The upload works, the read not
I want to create an anonymous ftp. The user can upload and read only from pub directory.
The OS is Unixware 71, the ftp server is WU-FTPD.
This is the ftpaccess file
#ident "@(#)unixsrc:usr/src/...
0
votes
0
answers
88
views
vsFTPd config error when using local_root=
What I am trying to achieve is the following, vsFTPd server which uses a different directory on a different mounted disk and jails each user to that directory while TLS/SSL is forced.
Currently I have ...
0
votes
2
answers
44
views
How does ftpd service access the FTP protocol to understand how to transfer files?
This question applies not only to the FTP protocol, but also to other protocols in general.
We call FTP a protocol, but speaking literally, FTP has a source code. When an ftpd service is running on a ...
0
votes
0
answers
201
views
vsftp : understanding passive mode, extended passive mode, and how to configure them
I installed a vsftp server. It works, with command line 'ftp' I can connect to it and upload ('put') files. But if I type 'ls', then it hangs after displaying:
Entering Extended Passive Mode (|||<...
0
votes
1
answer
59
views
Unable to configure yum ftp repository
I managed to configure successfully an ftp repository access using the default directory /var/ftp/pub using the anonymous user
I could install and download packages from node.
Now i am trying to ...
0
votes
1
answer
41
views
variable not resolved inside a manual FTP session
I am writing a bash/expect script that ssh to a linux box, fetches its serial number(eg S1234) then starts an ftp session to a licence server(unix box) and tries to download a license for that serial ...
0
votes
3
answers
110
views
Shellscript which copies all files automatically per ftp
today I wrote a script which should copy all files per ftp to my destination server.
Script is executed inside zsh-shell, so I guess I should use "sh script.sh" to execute it correctly?
Also ...
0
votes
1
answer
926
views
Error: mount, as it already exists. Duplicate entry in /etc/fstab?
When I try to give access to the same target directory to multiple FTP users using these commands:
sudo mount --bind /home/max/home/ExLand /home/riven/Desktop/ExLand
sudo mount --bind /home/r1ven/home/...
0
votes
1
answer
148
views
How can i use a proxy server for whois command?
Well, my goal is to use a free proxy server to make the whois command requests in the terminal to control the limit of requests by ip and then immediately disable the proxy (I want it to work only for ...
2
votes
1
answer
223
views
SFTP job getting hung when running through shell script
I have the below script to pull the file from another server.
#!/bin/bash
PROC_DATE=`date "+%Y%m%d"`
CURRENT_DATE=`date`
LOG_FILE="/home/tdata/dw/da/common/AWS_{PROC_DATE}.log"
...
0
votes
1
answer
139
views
/bin/ftp is failing on a VestaCP linux server, Consider using PASV. 425 Failed to establish connection - how do you fix this?
Although the username and password work on the host, when using standard ftp after the connection it stopped working to either put or send files or even do an ls.
This is a VestaCP account = tech ...
1
vote
0
answers
771
views
Upload file to SFTP directly from HTTP using cURL
I am struggling with uploading a file to an SFTP from a URL. All steps work independently but when I combine them they seem to be split into two separate tasks, downloading the file and then ...
0
votes
1
answer
606
views
How to make Firewall rules for Passive FTP which uses dynamic port?
The following two rules allow for passive transfers which i added as Firewall rules for my FTP server.
//The following two rules allow the inbound FTP connection
iptables -A INPUT -s $hostIP -p tcp --...
1
vote
1
answer
137
views
Firewall rules are not working as expected
I have to setup firewall rules for my onboard network(for list of device which are connected via eth0 interface) during boot up of Linux device.
By default FTP access over eth0 should be disabled.
...
0
votes
1
answer
541
views
is there any way to transfer file in Ascii mode using ftp or sftp
We have a server and we need to transfer file in Ascii mode.
While transferring : when we use "ftp" command getting below error
Error: 530 Log on attempt by user rejected (530 Secure ...
0
votes
1
answer
176
views
SELinux issue with FTP/Samba/Home directory
I am setting up my home camera to record to my NAS server (CentOS 8 Stream). I am using FTP for the transfer. I installed vsftpd and created a dedicated user (ftpuser). I want the files to be ...
0
votes
3
answers
500
views
Why do I not need to start an SFTP Server ( why does SSH automatically start SFTP )?
Question
When I start SSH server, my Debian automatically start the SFTP server as well - why is it design in such way?
Environment:
Linux 5.10.0-14-amd64 Debian 5.10.113-1 (2022-04-29) x86_64 GNU/...
1
vote
0
answers
44
views
OS doesn't recognize mounted CF card format
I'm trying to read and xfer files to a CF card used in a aircraft glass cockpit graphics server. Windows nor Ubuntu recognize the format. The FTP command to format the card is "quote site ...
2
votes
2
answers
255
views
How to wget files from an FTP site without creating any subdirectories?
I am trying to download a folder with this command:
wget -m -np -nH ftp://user:[email protected]/FTP/config2all/* -P /home/myuser/
But when it is finished downloading, it downloads
/home/myuser/FTP/...
0
votes
1
answer
2k
views
LFTP Script to Download Files and then move them to a remote directory
I found the following
LFTP Script to Download Files.
The script will fit, but currently it deletes the files after successful transfer.
But I want the files to be moved to another directory (e.g. ...
0
votes
1
answer
1k
views
vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
I'm configuring ftp on a linux server.
This is my vsftpd.conf
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
...
0
votes
0
answers
2k
views
Copying files from remote to local using lftp in unix
I originally posted this in server fault, but it didn't get much traction. I'm hoping someone here can help.
I'm trying to write a script to copy some files from a remote ftp server to a local ...
2
votes
2
answers
2k
views
How can I connect to the ftp server? ftp command returns 550
$ ftp example.com 51225
Connected to example.com.
220 ProFTPD Server ready.
$ Name (example.com:ra): [email protected]
550 SSL/TLS required on the control channel
ftp: Login failed.
Remote system type ...
0
votes
1
answer
343
views
Problem transferring file via curl in ftp data is lost
I faced such a problem when I run the command to transfer a file via curl to ftp my server already has such a file.txt file
And it turns out that all the data there is erased and the sent file file....
2
votes
0
answers
433
views
How to include only certain folders in lftp mirror?
I want to sync only some folders from an ftp with many folders.
Therefore, I'm trying first to exclude everything, and the only list the dirs I want to have explicit:
lftp mirror --exclude=.* --...
0
votes
1
answer
139
views
zftp connection refused, sftp works
When I try to sftp into a virtual machine's IP address it works well (I am able to do all the sftp provided operations). But when I try to use zsh's zftp for the same IP address, the connection is ...
1
vote
1
answer
185
views
Move vsFTPd user to another server
We have a server with many vsFTPd FTP users saved in /etc/vsftpd/users/* and /etc/vsftpd/passwd.db. As me made a new server to split the load, we have to move some of the users to the new server.
...
0
votes
1
answer
360
views
How to use MPUT in PSFTP to put the file with permission 777?
I don't want to use chmod 777 *.xml so how I can use MPUT to put the file with permission 777? Without using chmod 777 *.xml the default file permission becomes 0664.
This is my script
dir
lcd E:\...
-1
votes
1
answer
300
views
VSFTPD set up in CentOS 7
I am trying to set an FTP server in a VM (CentOS 7). There are no firewalld or iptables services running. I have installed vstpd service and enabled it. Below are the enabled properties in vsftpd.conf
...
0
votes
1
answer
162
views
Bitbucket Pipelines.yml is having issues with FTP
I have some code that I was using, sourced from samueldebruyn/debian-git.
It's been working for months but all of a sudden is giving me an error of:
+ apt-get update
Ign:1 http://security.debian.org/...
1
vote
0
answers
63
views
Trouble using VSFTPD service for ftp server on AWS S3
First post on here so I apologize if its in the wrong place or format.
So currently I have a working ftp server on aws linux EC2 and S3 with users that can connect via
ftp/ftps/sftp
. However the way ...
0
votes
1
answer
773
views
Permission denied (publickey)
there are several questions like this on the website but I have not been able to find one that resolves my issue.
I am performing some experiments regarding adaptive bitrate video streaming, and need ...
0
votes
0
answers
155
views
How to share home directory in FTP
I installed an FTP server on Linux Debian and fedora computers but when I trying to access to the FTP server with the Local area network it shows me the wrong directory. How to change the ...
14
votes
10
answers
5k
views
What's the point of firewalling outgoing connections?
I have a firewall (csf) that lets you to separately allow incoming and outgoing TCP ports. My question is, why would anyone want to have any outgoing ports closed?
I understand that by default you ...
2
votes
1
answer
4k
views
Setting which ports to use for passive FTP connection with Linux's ftp client
I'm trying to connect to a FTP server behind a firewall that allows incoming connections in the range 6100-6200 only. I have successfully connected to this server using curl like this:
curl --ftp-port ...
0
votes
0
answers
213
views
Cannot see any files in the directory
I'm on Arch Linux and I've followed this guide from Arch Wiki
I'm new to all of these but I've ip address show to access it from my mac to that address by ftp://xx.xx.xx.xx. I've created a simple test....
0
votes
0
answers
206
views
Share files and folders between Mac, Windows and Linux
I've read a lot about this but I want this a little bit different. The articles about FTP and folder sharing all needs a specific software at both end hosts like SAMBA. But I want to connect the ...
0
votes
1
answer
229
views
ftp fails in AIX startup
I have a script in AIX that runs a ftp to make a FTPS connection to another host running vsftpd server.
/usr/bin/ftp -snv host 8081 <<END_SCRIPT
debug
user anonymous pass
passive
binary
debug
...
0
votes
1
answer
217
views
How do I access a public FTP from command line the way File explorer does?
I have the following scenario:
I open up File explorer, write a FTP server link (ftp://server-name/). A window pops up that allows me to log in anonymously . I press OK, I can see the files from the ...
0
votes
1
answer
1k
views
proFTPD not working due to socket bind error
I am trying to set up an FTP server on one of my devices that runs DietPi and I selected proFTPD as a server.
I have installed the software and followed some set-up information I found here. But then ...
2
votes
2
answers
764
views
vsftp work only without TLS
Hi I installed vsftpd on ubuntu 20.04, at the beginning I tested my FTP server without having secured and it worked fine !!
But when I use the TLS certification the server does not work anymore I do ...
2
votes
0
answers
50
views
Is it possible to have two sources for a mount?
I have NAS which is accessible via both SMB and FTP. I currently have the share mounted on my Fedora 33 laptop using curlftpfs, but I'd like to know if it's possible to configure it to first try ...