Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
0
votes
1answer
12 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
26 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 ...
0
votes
1answer
43 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 ...
1
vote
1answer
23 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 ...
0
votes
0answers
17 views

vsftpd cannot write on the www linked directory

im trying to link the /var/www/html/ to a folder called FTP located in /home/pi/. I used for linking ln -s /var/www/html /home/pi/FTP whenever I try to upload anything via FTP I get an error. for ...
0
votes
0answers
10 views

FTP and mget problem in shell script

Is it plausible that mget command may not be able to retrieve a large file 100mb, 1gb, due to it still being written by the host? Is there a method to check? I would need to check FTP status codes, ...
0
votes
0answers
37 views

Passive mode not working on vsftpd

I have installed vsftpd on Ubuntu 18.04. When I try to connect it using filezilla, it shows the following error: Response: 257 "/" is the current directory Command: TYPE I Response: ...
1
vote
0answers
12 views

How to extend an external storage device to a chrooted directory?

I run game servers that can generate a lot of data. So I purchased a couple of 12TB drives to store all the data. I've looked into how to link the storage of the drives to a location within a chrooted ...
0
votes
0answers
109 views

ftp connection refused in docker container

After deploying a jar to a remote server and containerizing it; the application fails with the following error: Connected to ************.com. java.net.ConnectException: Connection refused (...
0
votes
0answers
8 views

How to limit FTP user to only one directory

I have setup on my FTP a user: mega and a folder /var/mega/ I've set the user home directory as that directory but how do I limit him to only that one and restrict him from all other directories on ...
0
votes
0answers
29 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 " ...
1
vote
1answer
61 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 ...
0
votes
0answers
24 views

How to route 2 interfaces to the same destination IP address

I have a RPi with two different interfaces (wwan0, wwan1) each one with one IP provided by two different wireless network operators. The RPi has to communicate with a server for the correct ...
0
votes
0answers
30 views

Enable FTP/port21 on server?

UPDATE: When I remove the ftp_username from vsftpd.conf, I get this error: 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp I have a RHEL (Red Hat Enterprise Linux) 7 server that ...
0
votes
1answer
37 views

Transfer files between two Ubuntu machines over ftp

I wonder how I can transfer files between two machines running ubuntu using FTP? Also what is the best fastest configurations to transfer files over ubuntu (cifs, smb, ftp,...)? Also is it worth it to ...
0
votes
0answers
26 views

How to recursively download a whole directory in one run via FTP

I am trying to migrate a folder from one server to another, using FTP on Linux via SSH. I am not finding a command to download all the masses at once. The Commands that I found only download the files ...
0
votes
0answers
9 views

How to connect my visual studio code

This is how I am working now: I use a CentOS7 server. I am on windows 10 and I connect to it via Xftp/Xsheel. I open the files from my ftp with visual code and always get this error: 2020-09-15 10:52:...
0
votes
0answers
20 views

Does perl ftp class works?

I have this simple script: #!/usr/bin/perl -w use Net::FTP; $ftp = Net::FTP->new('apache.cs.utah.edu'); $ftp->login('anonymous', '-anonymous@') or die "login\n"; $ftp->cwd('/apache....
0
votes
0answers
14 views

sftp working on FileZilla but not terminal

I can access my folder on ftp server normally using FileZilla. But when I try to connect using terminal sftp myuser@ftp.server.ip.address then it asks for password then it says Permission denied. I ...
1
vote
0answers
52 views

how to create FTP server in namespace

Lets say i created two namespace in Ubuntu. ip netns add A ip netns add B now create Macvlan corresponding to each namespaces ip link add macvlanA link wlo1 type macvlan mode bridge ip link set ...
0
votes
0answers
28 views

why I am not able to start the ftp service in /etc/services

I want to enable FTP on my Raspberry PI which comes shipped with Debian Linux. I am able to find out the service available in /etc/services file. root@raspberrypi:~# uname -a Linux raspberrypi 5.4.51-...
0
votes
0answers
34 views

How to find out home directory of a user

I created a FTP user a while ago. How can I find out his root directory? uname -a Linux linuxphp7 4.12.14-lp150.12.82-default #1 SMP Tue Nov 12 16:32:38 UTC 2019 (c939e24) x86_64 x86_64 x86_64 GNU/...
0
votes
0answers
65 views

Why do I get FTP “protocol not available” error?

I have been trying to install Centos 8 on my other Virtual Box - Virtual Machine via the kickstart unattended installation. But I cannot complete the installation because of the below FTP error. ftp: ...
0
votes
2answers
1k views

How to connect to server with TLS using LFTP?

I'm trying to connect to a server that needs TLS using LFTP. I'm trying in this way, but I get error sslv3 alert when I try to use any command ls, put, pget, etc. lftp set ftp:ssl-force true connect X....
0
votes
0answers
17 views

Router sent anymous user request to ftp server when not anonymous

Okay the title is not the best. Here is the problem. When I attempt to connect to my FTP server through my firefox browser or Edge browser I get an error saying it cannot connect. I have found that ...
0
votes
1answer
25 views

Got Download Traffic While Uploading With High Speed

When I upload my backup using ftp to my backup server, my upload speed get to 1.5Gb/s which is good! BUT I see strange things on download traffic!! When my upload speed get bigger than 1Gb/s I see ...
0
votes
0answers
8 views

Data Transfer tool with integrity verification

Is there any data transfer tool other than globus that explicitly checks integrity of the local files after data transfer? I think rsync has this option but I can not make it work. I was wondering if ...
1
vote
0answers
111 views

After mounting with curlftpfs directory is empty

I'd like to mount a directory from a windows server with curlftpfs, but after mounting it I get an empty directory. When I simply ftp it works, I see the files. Trying with root for now, setting ...
0
votes
1answer
33 views

How is netfilter able to track the out-of-band data-connections of FTP to be in RELATED state with control-connection?

An article at this URI https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-firewalls-iptables_and_connection_tracking RELATED — A packet ...
0
votes
1answer
1k views

vsftp server returning 500 Illegal PORT command when tried to run raw ftp commands in telnet

Currently, I am trying to run ftp commands from telnet client. I was successful with USER, PASS, PASV, LIST and when tried PORT vsftp server is throwing 500 Illegal PORT command. I am following the ...
0
votes
1answer
169 views

Ubuntu - VSFTPD configuration for FTP fails on restart

I need to set up a FTP server within my Ubuntu virtual box but im having problems within configuration of the config file within VSFTPD From online tutorials i keep seeing different options being ...
0
votes
0answers
24 views

How to copy files from linux rhel6 to another rhel6 (which are not connected)?

How to copy files or folders from linux rhel6 server to another (which are not connected) with same file or folder properties (especially symlinks) using zip? The only way is FTP to server1 and copy ...
0
votes
1answer
56 views

What does this FTP command really do? [closed]

I am currently learning UNIX and I am exploring FTP and how it works. I try to understand what this FTP command is doing: echo Start FTP ftp -nv 10.232.164.17 3147 << _EOF user ...
1
vote
1answer
423 views

Auto-compress SFTP file-transfer to reduce network data usage

When downloading /var/log/apache2/other_vhosts_access.log (100 MB) from a distant server to my local computer via SFTP, I noticed that the network transfer was not compressed. Indeed similar ...
0
votes
1answer
51 views

vsftpd: 550 Permission denied trying to uploading/writing files

I've created a user jdoe and I wanted to map such a user to apache user. So everytime that I upload a file could be owned by apache. This is my /etc/vsftpd/vsftpd.conf file: listen=YES listen_ipv6=...
0
votes
0answers
16 views

Cannot set file date through FTP. MFMT command ignored

After my FTP Client logs in to my QNAP TS-210, I can clearly see that MFMT command is supported: 230 User trejder logged in SYST 215 UNIX Type: L8 FEAT 211-Features: EPRT EPSV MDTM TVFS MFMT ...
0
votes
0answers
24 views

Mounted hdd directory is not visible in the ftp client

I am running a vsftpd server in my Virtual Box Oracle Linux 8.1 pointing at location /home/ftpuser/ I have added an extra hdd with the mount point /home/ftpuser/mnthdd in my Virtual box. The issue ...
0
votes
3answers
307 views

How to use rsync to copy files between 2 remote servers based on the localhost server? [duplicate]

I have a case when I need to move data from an old server: host1 to a new server: host2. The problem is host1 cannot see host2, but I can use another server (localhost) to SSH to both host1 and host2. ...
0
votes
0answers
264 views

lftp using encryption problem

Using the following lftp command to connect to an FTP using an anonymous user: [root@somemachine someuser]# lftp -d -u anonymous,user -e 'set ftp:ssl-force true' xyz lftp anonymous@xyz:~> ls ---- ...
0
votes
0answers
11 views

FTP timing out when enabling ufw

I created a FTP server using vsftpd. So far, I've got it working using plain FTP. My next goal is to setup SSL/TLS. I have the configuration ready in the config, but first I wanted to get the firewall ...
0
votes
0answers
66 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
27 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
50 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
25 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
497 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
19 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
159 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
1answer
43 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
73 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 ...

1
2 3 4 5
12