Skip to main content

Questions tagged [ftp]

The File Transfer Protocol

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

Why can't I list files in FTP? [duplicate]

I would like to transfer files between a phone (HarmonyOS 2.0.0) and a Linux laptop. I run a FTP server (without username and password) using ES File Explorer on the phone, by following some replies ...
Tim's user avatar
  • 103k
0 votes
0 answers
47 views

FTP alternative for production

I'm currently managing two physical servers, both running Red Hat Linux 8. The primary server is configured with the OS on bare metal, whereas the secondary server utilizes Hyper-V for virtualization. ...
Mahmud Mehedi Hasan's user avatar
0 votes
0 answers
12 views

vsftpd is unable to go into root directory when chroot_local_user=YES

I have installed vsfptd and created a user using this sudo useradd sftp -d /var/www/magento2 Then I did this config for vsftpd listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES ...
Mohammad Fathi Rahman's user avatar
0 votes
1 answer
59 views

QEMU ftp connection refused on linux guest but not in windows host (qemu blocking localhost connection??)

I'm using QEMU to run debian linux on my windows machine. I setup a filezilla ftp server running on localhost in my windows. I can connect to the ftp server from my windows cmd But i can't connect to ...
aaa's user avatar
  • 1
1 vote
1 answer
137 views

Reading mounted curlftpfs directory results in "Input/output error"

I want to mount a remote FTP directory in linux. One of the main tools I found is curlftpfs. However, when I mount the remote FTP directory and try to read its contents, I get the following error: $ ...
g00dds's user avatar
  • 143
0 votes
0 answers
44 views

Store files in ftp server, accessible only for users from authentication server via OAuth2 protocol and separately for each other

We have in company authentication server with support of OAuth 2 protocol. We are thinking about ftp repository. Could it be possible to configure ftp repository/server so that we could provide files ...
LDonSOvrfw's user avatar
6 votes
2 answers
945 views

Cannot do "ls" in FTP while port forwarding to SSH

When I log in to SSH while forwarding my local port, it's 21 FTP port, with the command: ssh -R 2101:localhost:21 [email protected] -p 8288 After successfully logging in, I sent this command in the ...
TuanHaxor's user avatar
0 votes
1 answer
25 views

How to Install and Enable XCRC on an Open-Source FTP Server in Debian 11?

I'm currently working on Debian 11 and exploring options to enable and use the XCRC command for CRC32 checksums on an FTP server. Unfortunately, the instructions I've found for ProFTPD appear to be ...
Juergen Schulze's user avatar
0 votes
1 answer
121 views

Could not pass the username password for FTP command from linux

I need to connect to a Remote FTP host via linux command line. When I try #ftp <IP address>, it prompts for username then password.. But I would like to pass username and password in single line,...
Ratha's user avatar
  • 103
1 vote
1 answer
178 views

How to create an FTP user with access to ALL websites, current and future?

I have a new Hostinger VPS and I'm migrating all my websites over from Bluehost. Setting up an FTP user (I am running ProFTPD) through CloudPanel is quick and easy, but it seems to be only doable on a ...
HerrimanCoder's user avatar
0 votes
0 answers
212 views

Can't access to my FTP through windows but on linux it works,may anyone help?

I set up a FTP using pasv mode since I don't have the permission for 20&21, the weird thing is I can access to my FTP on linux but it says i don't have the permission if i use windows even if i ...
HiC's user avatar
  • 1
1 vote
1 answer
1k views

Is curlftpfs missing in debian 12?

Tried to install curlftpfs in debian 12 says that the package is missing. While I understand that the package is still not active developed I use often curlftpfs inside some virtual machines transfer ...
user3450548's user avatar
  • 2,974
0 votes
0 answers
247 views

Configuring IPTABLES for Passive FTP Connection through NAT (Forwarding from One PC to Another Using a Second Ethernet Card)

I am trying to connect to an FTP server through a NAT network created by another PC that uses two Ethernet cards. I would like to access via FTP client the second PC's FTP server through the first one....
Giacomo Ornati's user avatar
0 votes
0 answers
243 views

Mounting remote USB drive to laptop via FTP on Debian 12

Initial data: USB flash drive 32GB (EXT4) mounted on router D-Link DIR-825. On router setup page I enabled FTP server, set port, directory and created user with password. Laptop on Debian 12 (with ...
Anatoly Sokolov's user avatar
0 votes
0 answers
250 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 ...
Tamás Bern's user avatar
1 vote
0 answers
213 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 ...
Muath's user avatar
  • 19
0 votes
0 answers
139 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 ...
supmethods's user avatar
1 vote
1 answer
144 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 ...
blueflyer's user avatar
0 votes
1 answer
783 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:...
user254039's user avatar
0 votes
1 answer
59 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/...
elbarna's user avatar
  • 12.8k
0 votes
0 answers
159 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 ...
Rettercon's user avatar
0 votes
2 answers
69 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 ...
chilli's user avatar
  • 1
0 votes
1 answer
194 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 ...
TheRoguePrince's user avatar
0 votes
1 answer
69 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 ...
HassanChe's user avatar
0 votes
3 answers
187 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 ...
kekw's user avatar
  • 143
0 votes
1 answer
3k 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/...
Riven's user avatar
  • 1
0 votes
1 answer
293 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 ...
Gabriel Castro's user avatar
2 votes
1 answer
305 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" ...
sabarish jackson's user avatar
0 votes
1 answer
176 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 ...
Bob M's user avatar
  • 101
1 vote
0 answers
1k 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 ...
justClickingButtons's user avatar
0 votes
1 answer
1k 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 --...
user2520119's user avatar
1 vote
1 answer
171 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. ...
user2520119's user avatar
0 votes
1 answer
964 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 ...
Arya's user avatar
  • 316
0 votes
1 answer
272 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 ...
psycadelicgecko's user avatar
1 vote
3 answers
1k 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/...
dungarian's user avatar
  • 445
1 vote
0 answers
70 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 ...
curt54's user avatar
  • 11
2 votes
2 answers
469 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/...
Mix tutor's user avatar
  • 120
0 votes
1 answer
3k 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. ...
t.weingart's user avatar
0 votes
1 answer
2k 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 ...
Razlo3p's user avatar
  • 101
0 votes
0 answers
3k 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 ...
pbuchheit's user avatar
4 votes
2 answers
3k 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 ...
jjk's user avatar
  • 411
0 votes
1 answer
386 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....
Dew Debra's user avatar
2 votes
0 answers
772 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=.* --...
membersound's user avatar
0 votes
1 answer
197 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 ...
codepoet's user avatar
  • 596
1 vote
1 answer
276 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. ...
BDevGW's user avatar
  • 111
0 votes
1 answer
470 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:\...
Hung Le's user avatar
-1 votes
1 answer
476 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 ...
BeginnerUnix's user avatar
0 votes
1 answer
188 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/...
adamsuper's user avatar
1 vote
0 answers
90 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 ...
tuyguy98's user avatar
0 votes
1 answer
879 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 ...
Mason Hicks's user avatar

1
2 3 4 5
13