Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 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 ...
user avatar
  • 262
0 votes
1 answer
14 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 ...
user avatar
0 votes
1 answer
43 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/...
user avatar
  • 391
1 vote
0 answers
18 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 ...
user avatar
  • 11
0 votes
0 answers
20 views

wget doesn't deleting .listing files when mirroring directories from an input file

I have a file input.txt which contains a list of the following public FTP URLs (for testing): ftp://ftp.thegpm.org/j/ ftp://ftp.thegpm.org/projects/font/ When downloading each directory individually ...
user avatar
0 votes
2 answers
28 views

how to wget from ftp without creating subdirectories?

i try to download a folder with this command wget -m -np -nH ftp://user:passwordx@1.1.1.1/FTP/config2all/* -P /home/myuser/ but when its download, it download me with /home/myuser/FTP/confi2all/...
user avatar
0 votes
1 answer
283 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. ...
user avatar
0 votes
0 answers
54 views

FTP user access to system logs - Busybox ftpd

I'm working with the ftpd package included in Busybox-1.24.1. In the menuconfig, I have selected the ftpd options: ftpd, Enable upload commands, Enable workaround for RFC-violating clients (though I'm ...
user avatar
0 votes
0 answers
276 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 ...
user avatar
  • 101
0 votes
0 answers
46 views

using vsftpd to lock users in their home directory...not working

i tried following these guides. https://serverfault.com/questions/544850/create-new-vsftpd-user-and-lock-to-specify-home-login-directory https://linuxize.com/post/how-to-setup-ftp-server-with-vsftpd-...
user avatar
0 votes
0 answers
52 views

Is it normal for timezone to symlink to posixrules?

I'm trying to diagnose an ftp issue (see here: Copying files from remote to local using lftp in unix if you are interested). While investigating I noticed something about my timezone settings. lftp is ...
user avatar
0 votes
0 answers
32 views

vsftpd on mac OS Monterey (12.1) - 553 Could not create file

I've been trying to set up vsftpd on my MBP and I can log in, but I can't upload any file. I get: 227 Entering Passive Mode (192,168,1,69,119,174). 553 Could not create file. Here's the set up: ...
user avatar
  • 101
0 votes
0 answers
23 views

sftp directory-change shortcut

If sitting at an arbitrary unix desktop system and using sftp (e.g. OpenSSH as shipped by Debian) to contact another arbitrary system, is there any shorthand that can be used to switch to the same ...
user avatar
0 votes
0 answers
94 views

How to chown (or something else) the user's ftp directory for WordPress?

I am making my own hosting service, and FTP connection works, I transferred a Wordpress website via FTP to the users directory, Wordpress loads on the internet, but when it comes to writing a FTP file,...
user avatar
0 votes
0 answers
432 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 ...
user avatar
0 votes
2 answers
108 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): me@mydomain.com 550 SSL/TLS required on the control channel ftp: Login failed. Remote system type ...
user avatar
  • 249
0 votes
1 answer
77 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....
user avatar
1 vote
0 answers
91 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=.* --...
user avatar
0 votes
1 answer
71 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 ...
user avatar
1 vote
1 answer
60 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. ...
user avatar
  • 111
0 votes
1 answer
76 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:\...
user avatar
-1 votes
1 answer
118 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 ...
user avatar
0 votes
0 answers
80 views

how to use ftpget from a virtual machine (initrd from busybox)?

Trying to find a way to debug kernel code using debugger, I remembered I've setup initrd and kernel several months ago. So I tried if I can use ftp from the virtual machine to get the application and ...
user avatar
  • 281
0 votes
1 answer
65 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/...
user avatar
1 vote
0 answers
27 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 ...
user avatar
0 votes
1 answer
230 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 ...
user avatar
0 votes
0 answers
45 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 ...
user avatar
14 votes
10 answers
4k 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 ...
user avatar
  • 707
1 vote
1 answer
1k 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 ...
user avatar
  • 707
0 votes
0 answers
77 views

Enabling Pure-FTP Virtual Users

I am trying to make and Pure-FTPd server and i want to create Virtual Users... I followed this: https://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users, but i dont understand how can i ...
user avatar
0 votes
0 answers
43 views

Pure-FTPd fileserver on my raspberry only readable and not writable

So I followed this guide to install a ftp server on my Raspberry Pi. I did everything (even the optional part at the end) and it worked. I could connect my Mac (via Finder) with my Raspberry Pi and ...
user avatar
0 votes
0 answers
33 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....
user avatar
  • 11
0 votes
0 answers
80 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 ...
user avatar
  • 11
0 votes
1 answer
109 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 ...
user avatar
  • 281
0 votes
1 answer
77 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 ...
user avatar
  • 1
0 votes
1 answer
602 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 ...
user avatar
  • 226
2 votes
2 answers
348 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 ...
user avatar
2 votes
0 answers
38 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 ...
user avatar
  • 483
0 votes
1 answer
263 views

Disable terminal access but keep FTP

I'm using a raspberry pi3 and VSFTPD to share a directory via FTP, which allows a camera to connect to it and transfer photos. I also created a simple user & password and chrooted the directory so ...
user avatar
  • 5
0 votes
0 answers
48 views

Managing network storage from terminal

Sorry for the question that is too general, but I would like to switch to using the terminal instead of GUI programs as much as possible and I cannot formulate my question more precisely. In the ...
user avatar
  • 101
-2 votes
1 answer
122 views

How to make sftp output a working sftp prompt after the connection from CLI arguments is created?

I get a program that stays in input state, the user can type characters but they are useless. The following are the command and the output. After this, the terminal prints the keys pressed. ~  sftp -...
user avatar
0 votes
1 answer
361 views

The method driver /usr/lib/apt/methods/ftps could not be found

I tried updating the packages, using: sudo apt update but I get the error: E: The method driver /usr/lib/apt/methods/ftps could not be found. N: Is the package apt-transport-ftps installed?
user avatar
  • 1
0 votes
2 answers
110 views

Calling macdef macro within the .netrc file

I get this error: Unknown .netrc keyword $download The script reads: machine **.gov login anonymous password none macdef download cd some directory quit $ download
user avatar
0 votes
1 answer
60 views

ftp client: no rc file?

I know ftp client(classical ftp client of Unix, for example kftp or netkit-ftp binary) use the file $HOME/.netrc. The syntax is really simple machine ftpservername login myname password ******* But ...
user avatar
  • 11k
0 votes
0 answers
265 views

Accidently deleted current working directory in sftp. How to recover?

I wanted to delete a directory in my sFTP server but I accidently deleted current directory using: rmdir . now any operation on the sever is getting me the error: Couldn't stat remote file: No such ...
user avatar
0 votes
1 answer
371 views

Connect to SFTP via CURL

[user@1070741-VM1 logs]$ curl --tlsv1.2 --tls-max 1.2 --ciphers ECDHE-RSA-AES128-GCM-SHA256 -k sftp://ftp.domain.com/db/ --user user:pass curl: (2) Failure establishing ssh session Im trying to ...
user avatar
0 votes
1 answer
189 views

Maximum data transfer over Ethernet

I'm trying to check what the maximum transfer speed is over ethernet. In my local network I want the communication between a Linux device and a Microsoft machine. I tried using dd if=/dev/zero | ssh ...
user avatar
  • 1
1 vote
1 answer
460 views

What is the detriment to downloading too many files in parallel through lftp?

I'm downloading files in parallel through lftp onto a remote server, and I use the commands: lftp ftp:*url* cd into directory mirror --parallel=10 I'm downloading a total of 365 files separated ...
user avatar
0 votes
0 answers
251 views

Run script in background to send files through ftp

I've made a script that automatically sends a file to another machine via ftp. Only thing you need to do is to input the IP, file name, user and password. #!/bin/bash read -p "Server ip " ...
user avatar
1 vote
1 answer
99 views

Creating a user with read permissions to all directories in a Linux server

I need to connect to a remote Linux server over SFTP and read the entire folder structure of the server. I would like to list all directories, even directories with no read permissions, and preferably ...
user avatar
  • 53

1
2 3 4 5
12