Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
3 votes
1 answer
5k views

Default File Permissions - Ubuntu & VSFTPD

I have a server setup with Ubuntu, Apache2 and VSFTPD. We virtual host several sites on this machine. Typically, I use the same process to set up the new sites, but the default permissions for some ...
1 vote
2 answers
65 views

How to migrate a file on Linux server?

I have renamed a shell script on my linux server and uploaded a new file through FTP tool like WinScp. Now, I am trying to execute this file through Terminal but I am getting Permission Denied Error....
-1 votes
1 answer
663 views

ftp multiple files to another server via loop

I try to transfer huge amount(578) of file among of 774 files with ftp. I have the file name which should transfer. the file name format is like : TS_20170818_171102_17.csv and it's not a in same ...
2 votes
0 answers
1k views

ftp failing to retrieve directory listing

I'm trying to connect to my ftp server but I'm getting Status: Disconnected from server Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Status: ...
2 votes
1 answer
789 views

How can I give a Linux FTP server a domain name?

I have a computer running Arch Linux headless with SSH server and proftpd server. It's for a personal use. But it's a bit annoying to run the IP address every-time to connect to it. Can I give it a ...
0 votes
0 answers
182 views

How to hide "Up to higher level directory" header in ProFTPD?

I have Debian 9 with configured ProFTPD server version 1.3.5 with anonymous access. When I am logging to my ftp server from another PC I see "Up to higher level directory" header. Is there any ways ...
1 vote
1 answer
5k views

Lftp PASV incorrect?

When connecting to a ftp via terminal, everthing is fine. When using lftp instead, I'm constantly getting timed out and can never sync the folder content. But why? script.sh: lftp -c " debug open $...
0 votes
1 answer
478 views

Access denied to ProFTPd on LAN interface

I am having this super weird access denied issue on my home FTP server. The symptom is I can only access it through the wireless interface. When disabling the Wifi, and use ethernet, I got access ...
0 votes
1 answer
508 views

Prevent FTP users from moving directories

I'm essentially trying to disable the mv command for FTP users on my CentOS server. I was thinking of editing their .bash_profile file and using this: alias mv="" But that feels system breaking. ...
0 votes
0 answers
642 views

Able to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

I tried connecting to my FTP server (vsftpd/CentOS 7/Alibaba Cloud ECS) from my Window 7 system installed on a VirtualBox using FileZilla, and it seems to be working fine. But in my default system, ...
1 vote
0 answers
112 views

Treat Symbolic Links as Folders in Nautilus FTP

I have a Pure-FTPd server running with the virtualchroot-enabled binary. When I connect to the server with FileZilla, FileZilla shows a link overlay for symbolic links that point to folders, but I can ...
0 votes
1 answer
4k views

How to ftp as root?

I can ftp to a linux server by doing ftp server But I can't do that with root. Need sftp or something or what?
0 votes
0 answers
443 views

Checksum on Network drive is really slow

I want to check if a bunch of files have copied without problem to a network drive. I am not able to ssh to the network drive, but I am able to mount it using FTP. The number of files is about 220, ...
0 votes
0 answers
87 views

Securing an open FTP on FreeBSD for visitor wifi speed testing?

I'd like to add a really simple local FTP server to my FreeBSD system, to allow guests to do wifi speed testing. Because of the use, I don't need more than very basic functionality - anon R/W to a ...
0 votes
3 answers
2k views

Creating a simple FTP server

I'm a bit confused about the terminology for Linux FTP servers. I'm just attempting to set up a simple FTP server. I thought was accomplished by FTPd but there seems to be no client/server for FTPd. ...
1 vote
3 answers
4k views

Configuring FTP server in redhat

I have installed vsftpd in redhat. Everything was file untill I fould that when I log into ftp server using: ftp localhost or fileZilla I get following errors: ERROR: - 500 OOPS: cannot change ...
1 vote
1 answer
3k views

Download url from CSV file and rename the file

I have a csv file with 3 columns as follow, I need to create a batch file to download the images in the URLs from a FTP server to a folder and rename them to a new name from column A. New_Name,URL,...
0 votes
0 answers
432 views

schedule auto backup the directories from Centos to FTP server

i have three Centos server i want to schedule autobackup some directories to my FTP server ,FTP is already installed in all servers, i want to use crontab for schedule the backup but the SH files is ...
7 votes
4 answers
54k views

Restrict FTP user to a directory

On a Ubuntu 11.04 server, I want to restrict a user to a specific directory (so he can't access the parents' directory) for FTP/ssh. I created the user with adduser username and changed the target ...
2 votes
1 answer
960 views

Can't list big directories with pureftpd

I installed pureftpd on a VPS (ovh). I can list a small directory (by small I mean a directory with just some files) but if I try to list a big one containing maybe thousands of files, including ...
1 vote
0 answers
259 views

FTP: Jail user to Home folder

Using Centos7 and vsftpd I would like to chroot the user "testftp" to his home folder /home/testftp. The client uses WinSCP on Windows. passwd: testftp:x:1001:1001::/home/testftp/:/bin/bash ...
2 votes
1 answer
4k views

How to add folder to existing user [proftpd]

As we know we can add folder to user using useradd user -p user_passwd -d /home/ftp/user_dir/ -s /bin/false but how to add folder to existing user, for example /home/ftp/root for root ?
0 votes
1 answer
251 views

Deny specific users in VSFTPD

I have Ubuntu 18.04 LTS with VSFTPD. I want to deny certain users from connection via SFTP to my server. So far I have only found Q&A (here on stackexchange and on the internet in general) ...
0 votes
1 answer
1k views

vsftpd and filezilla

I've installed vsftpd and filezilla locally on my pc(ubuntu 12.04) I can enter ftp via filezilla using 0.0.0.0 and it works. How can i access to ftp from outside of my computer? What address should i ...
1 vote
0 answers
2k views

vsftpd 2.2.2 - 500 OOPS: priv_sock_get_cmd

I've installed vsftpd to access the machine over ftp however I'm getting the error below: >>> USER username <<< 331 Please specify the password. >>> PASS *********** &...
-2 votes
1 answer
162 views

Shell script with password that starts with ( [closed]

I have a shell script that opens ftp, then passes on the user ID and password. The password starts with ( and the server does not like it. It errors outs with a failure to log in message. How can I ...
1 vote
2 answers
2k views

How to upload a file from a Unix server to a network drive using Putty?

I want to upload a file from a Unix Server to a network mapped drive using Putty. Now the Network Mapped drive (in Windows) holds an address something like \......... and is named MyDrive I have been ...
3 votes
2 answers
30k views

how to install a lftp program on centOS

how to install a lftp program on CentOS and use it to transfer files between servers. I used the below command but got an error as bad command. wget http://example.com/user/filename.gz.tar
2 votes
2 answers
5k views

I need to transfer a very large folder over FTP, without creating a file first

I am running an Amazon EC2 instance that is limited in disk space. I have a very large folder that I need to FTP to my local machine, preferably without creating an intermediate tar file, since there ...
4 votes
2 answers
20k views

Automate file transfer from Windows to Unix

I have the following situation: users update csv/txt files on daily basis on Windows. I use those flat files as input for my Oracle scripts which is on Unix. I need a script/method of transferring ...
10 votes
5 answers
28k views

How to perform grep on FTP?

I tried searching for similar command in ncftp (actually this is the only terminal ftp client I used) and I didn't find it. What's the way (if possible at all) to use grep command on remote server, ...
-1 votes
1 answer
685 views

How to calculate how much data is in ftp folders recursively

I would like to know how much data is in a remote folder (recursively) under ftp (from the command line). Wondering how to do that. Something like: sizeof -r ftp://domain.com/foo/bar/*
1 vote
2 answers
1k views

Wget multiple FTP files without re-logging in on every file

Lets say there's a ftp site with a bunch of files I want to download - ftp://ftp.example.com, and they allow for an "anonymous login" over FTP. Suppose that ftp://ftp.example.com has file1.zip, ...
0 votes
0 answers
928 views

How to set up the directory of an anonymous vsftpd server

I have set up a vsftp server with anonymous access. vsftpd.conf contains the following: anon_root=/var/www/ftp/ secure_chroot_dir=/var/www/ftp local_root=/var/www/ftp After login in as anonymous, ...
0 votes
1 answer
342 views

Google vm firewall, I have open all port, FTP 425 Can't open data connection

I have a problem with uploading or viewing FTP server. I am able to Connect to FTP server but I can't upload my file to it it says error. 230 User S2ubp92XXh logged in from ::ffff:xx.xx6.xx3.xx8. ...
1 vote
2 answers
3k views

Using wget on a directory outside the user's home directory

I'm trying to mirror a directory via FTP with wget. The command I'm using is wget -m ftp://user:[email protected]/foo/bar/ But, when I run it, I get the following: --2018-10-10 15:01:32-- ftp://...
0 votes
1 answer
1k views

Docker container upload permission

I started to play with docker. I'm using: https://laradock.io/ for my laravel project. So I have docker on my laptop (making server out of it) which is connected to the same network that my desktop ...
-1 votes
1 answer
546 views

How to transfer files from remote server to local machine when ssh'd in to remote server

I am trying to transfer files from a remote server to my local machine using FTP. I am ssh'd on to the remote server and want to connect to my local machine. The remote server runs on a Linux ...
-4 votes
2 answers
141 views

FTP to download file from one linux to another

I would have an exam in few days about basic stuff on linux(I'm not familiar with linux therefore I'm studying for it). There would be two linux machines VM1 and VM2 on VMware, that connect via ...
10 votes
1 answer
25k views

vsftpd conditional pasv_address (internal ip vs. external ip)

I have a vsftpd server setup that I'd like to be able to access with passive transfer from an external IP (use of my domain name) and also from my local network (192.168.1.x). Currently I have /etc/...
1 vote
1 answer
4k views

Renaming a file on FTP server with a timestamp variable

From my linux machine, I connect remotely to an FTP server using the following command: ftp ftp://USERNAME:PASSWORD@FTPSERVER/array1/DIR1/DIR2/ In this DIR2 there is a file called running_config ...
1 vote
4 answers
8k views

Remove directory in ftp

This is probably very simple, but I really can't get it to work. I have an old directory with a symlink in it. I need to delete the directory, but it says it is not empty when I try: rm -f dirname ...
1 vote
1 answer
6k views

Controlling ftp access with vsftpd

I had vsftpd set up such that I was able to upload files to a VPS I set up. The only problem is that I could not create directories. I set up vsftpd to disallow anonymous users, but allow virtual ...
1 vote
1 answer
2k views

Why would an lftp mirror operation slow down over time?

I have CCTV server that is backed up daily to a remote ftp server using an lftp command. The CCTV server saves videos to a new folder each day, the backup runs once a day at 1am, so each backup only ...
1 vote
1 answer
3k views

Permisions overwritten when files are transferred via FTP. What to do?

Got my web server up and running using apache2 with the ability to ftp to /var/www folder. However, if I make an update to .html and copied over the file via ftp, the file's permissions become more ...
0 votes
1 answer
667 views

How to mount ftp mounted .iso file to ubuntu

In my windows, I have created a folder. I have mounted that folder using curlftps. It was successful. there's a .iso file (centos.iso) in that folder. Then I tried to mount that iso image to my linux ...
2 votes
2 answers
2k views

Puzzle: transferring files between two servers (ssh, ftp, http multipart...)

A puzzle: files being uploaded in realtime by SCP to SERVER1 need to be transferred to SERVER2. But: SERVER1 doesn't actually have network access to SERVER2 (NAT); however SERVER2 has SSH access to ...
1 vote
2 answers
2k views

Transferring file from local computer to remote server

I would like to transfer a zip file from my local server to a remote server. I used the following command which contain host, port, and username as follows: scp "$somepath/${file}.zip" "$ftp_user"@"...
4 votes
4 answers
18k views

CentOS 6 VSFTP 553 Could not create file

I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error: 553 Could not create file After ...
9 votes
3 answers
66k views

How to specify username and password in ftp command?

I want to automate a call to ftp in a shell script. If I type $ftp somehost.domain.com I am prompted for a username and password. I want to give that username and password as part of the call to ftp....

1
3 4
5
6 7
13