Questions tagged [ftp]

The File Transfer Protocol

Filter by
Sorted by
Tagged with
1
vote
4answers
8k views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
2
votes
1answer
2k views

Two vsftpd instances - check passive port on FTPS

I have configured VSFTPD in a CentOS machine to run on two instances, with vsftpd.conf and vsftpd2.conf. Here the content of the second conf file: anonymous_enable=NO chroot_list_enable=YES ...
3
votes
0answers
24 views

Restrict special user and host of the ftp in the Linux Instance

I am using WinScp for connecting ftp to Linux Instance and I want to restrict special user and host. I install plesk on my Linux Ec2 instance and I thought it is using proftpd for ftp service and ...
2
votes
1answer
969 views

permissions on ftp'd files don't seem to match umask

I've read several postings indicating that ftp respects the user's umask. I don't see that that is the case. this is what happens on my server X when I FTP a file from SystemX, to SystemX. SystemX is ...
-1
votes
1answer
16 views

Need help with firewall - Accept FTP connections from outside

I am hoping you can help out. Our DevOps guy is out of the office at our agency and our partners need access to our FTP. We have it locked down to our office but need to open it so that people outside ...
3
votes
0answers
22 views

Restrict special user and host of ftp in the Linux Instance

I am using WinScp for connecting ftp to Linux Instance and I want to restrict special user and host. I install plesk on my Linux Ec2 instance and I thought it is using proftpd for ftp service and ...
2
votes
2answers
2k views

vsftpd closes conntion with code 421 when listing directory content

I am currently struggling with some kind of connection problem with vsftpd. I am using an arch linux and have vsftpd version 3.0.3 installed. I don't use iptables or anything. When I connect to my ...
0
votes
0answers
13 views

Error while copying a file from source to destination server

I'm getting the below error while trying to copy the file from a remote server to another server using ftplib(jenkins job).In my local it is working fine. In the Python code i'm downloading the text ...
0
votes
0answers
19 views

FTP transfer shows complete which is not true

We have linux machine and we see while doing FTP from the Client to the FTP Server it comes out saying complete as follows but it uploads only some portion of the file. I don't see any broken error ...
1
vote
1answer
3k views

How to change FTP home directory in Centos 6

I have created one Linux CentOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there. The issue I face was when I try to FTP to the instance with the following ...
0
votes
1answer
1k views

How to limit a ftp user to only a given subdirectory?

I know this question is posted many times on StackExchange, but none of the solutions worked for me. I use vsftpd server on ubuntu and I want to restrict the access (read-only) for a user to a given ...
0
votes
0answers
25 views

How to look for directory in http address

I'm trying to create a regex formula in shell script which will allow me to find desired folder in HTTP directory. Let's assume that this is the address: ftp://google.com/directories/ In this ...
0
votes
0answers
78 views

FTP listing files (ls) with dynamic date YYYMMDD pattern

Following a previous answer I'm trying to list the files on an FTP server that match a pattern, as shown below event_date=`date +%Y%m%d` ftp -n XX.XX.XX.XX <<END_SCRIPT ls *${event_date}* ...
-2
votes
1answer
81 views

ftp: connect : Connection refused error in Debian

I'm new to virtual machines. I'm trying to connect metaploistable machine from debian machine through ftp. But my Debian machine is refusing to connect. The following image shows the commands typed ...
2
votes
1answer
1k views

Unable to transfer files (put) using ftp or filezilla from windows to ubuntu VM

I've setup a ubuntu 64 bit VM (16.04) using Oracle VirtualBox. Using ftp, I am able to connect to the VM. I am also able to list (ls) the contents of the folder. However I am unable to put files to ...
31
votes
11answers
196k views

VSFTPD, 553 Could not create file. - permissions?

I've set up VSFTPD on Amazon EC2 with the Amazon Linux AMI. I created a user and can now successfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
-1
votes
1answer
3k views

Debian, ftp user with access to /var/www

I want to have ftp user who have only access to /var/www and work on all of files, but the problems arise when I give permission to /var/www, exactly chown. I try with chgrp but then I cannot edit ...
7
votes
1answer
705 views

Scripting FTP transfers

Is there a way to shebang-ify ftp and write small FTP scripts? For example: #!/usr/bin/ftp open 192.168.1.1 put *.gz quit Any thoughts?
2
votes
1answer
1k views

How to edit files with VIM through FTP

I'm trying to use: vim ftp://user@hostname// - this gives me a correct directory tree, but when I try to open given file, by pressing Enter, at the first time - nothing happens (just cursor jumps to ...
0
votes
1answer
23 views

adding FTP user without changing owner of directory?

Sorry, but this is probably a terribly stupid question. I'm running a Linux2 instance on AWS. I have a number of sites running there, including a couple of wordpress sites. One of the sites wants an ...
0
votes
2answers
670 views

Scripting a file move on an FTP Server

I'm attempting to move multiple files on an FTP server to a different directory. So far, I've written a bash script that will login and retrieve any new files in the remote directory but the ftp ...
42
votes
5answers
368k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
0
votes
0answers
12 views

Grant permission to ftp user in other directories

I need a user that I created in my ftp server to access other directories. Example, the tech user was created in the following way: useradd -s /sbin/nologin -c "FTP user for mail accounts" -G mailg ...
2
votes
1answer
52 views

Check if the file has been successfully transferred to the destination with SFTP

We have a daily process which moves file from 1 server to another via FTP using a script. Please find the snippet below: fileTransferToDEST() { ftp -inv $DEST_IP 1>$2 <<END_SCRIPT quote USER ...
1
vote
1answer
74 views

Transferring files via Binary mode in SFTP

While using FTP we can use the option bi to transfer files in binary mode however I am unable to find similar option in SFTP. Please find my code snippet below.. fileTransferToDEST() { echo "mput $4/$...
0
votes
1answer
1k views

Get latest files with lftp

I would like to know if it was possible to download all latest files on an ftp server with lftp without downloading the older files. Examples; On my server I have /doc /vps /order/{id} /order/{id} /...
1
vote
1answer
1k views

Linux LiveCD Server with FTP & SSH Services

Could anyone please suggest me a LiveCD (Linux Based) with SSH & FTP Services. Basically I don't want to install anything on my laptop so I just want to boot LiveCD with FTP/SSH services so I can ...
0
votes
1answer
52 views

File is not sent via ftp - error: “The parameter is incorrect”

This is the bash code: ftp -n <ftpadress> <<EOT <credentials> binary put $pathfile$reportfile $remotepath$reportfile put $pathfile$logfile $remotepathlog$logfile quit EOT This is ...
0
votes
1answer
44 views

RH 7.5 Linux using curl with sftp to pull multiple files ending in a particular file extension

I am in a Red Hat Linux 7.5 environment. I am trying to write a curl script to pull/receive any file from a folder that ends with a particular file extension. Previously, I have written a script to ...
0
votes
1answer
2k views

FTP Permissions in Linux (vsftpd)

Let's suppose I have a user called user1 and his home directory is on: /home/user1. All files on that directory need to be 750 (chmod -R 750 /home/user1). I installed vsftpd so I can manage my files ...
0
votes
0answers
22 views

Hide folder that user uses currently

I'm searching for a ftp server or any idea to achieve hiding folder from others when somebody is working in it. For example: I have 3 folders: A B C when I working in A, anybody who is also connected ...
0
votes
1answer
2k views

How to login to SFTP server using pem file which have password?

I have given below details of an SFTP server to login. ipaddress, username, password, port(8800), password protected ppk file. I tried the following command to login to server but unable to connect.(...
0
votes
0answers
25 views

How can I lock an FTP user to their home directory?

I have found some help regarding locking an FTP user to their home directory, but after following steps, I find I'm still able to run cd .. and exit that directory and browse the file system. I'm ...
0
votes
0answers
14 views

Errors uploading files using an ftp client written in C using sockets

I wrote an ftp client in C using sockets, and a convenient API made by hubenchang0515 on GitHub called libftpclient. I followed the demo.c file shown in the repository; when I'm using the put command ...
24
votes
5answers
36k views

Why does SCP hang on copying files larger than 1405 bytes? [duplicate]

I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp ...
4
votes
6answers
14k views

VSFTPD FileZilla GnuTLS error -15 (unexpected TLS packet was received)

I set up two new CentOS 7 boxes simultaneously, so the configurations should be identical, just different ip addresses and host names. I installed VSFTPD and configured for passive ports. One box ...
0
votes
0answers
19 views

Run 2 instances of vsftpd and in the second instance have users accessing to their own home folder

I need to run 2 vsftpd instances, which one is used for admin purposes and the other one for granting access to users (virtual users should be better) who should be able to access only to their home ...
0
votes
0answers
15 views

Storage object access with docker FTP getting error 550

I'm actually using an object storage from scaleway. I want to be able to access it with ftp and be able to do some action. Right now I can access and view files/folders from it, but I can't do action, ...
0
votes
1answer
124 views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
1
vote
1answer
28 views

Curious (possibly dim) question on ftp

I am trying to use ftp to transfer the contents of 2 directories on my local machine (PI-jessie) to a website. The script successfully changes to the first local & remote directory and uploads the ...
22
votes
3answers
41k views

How do I use implicit FTP over TLS

Using any FTP client (I'm on Ubuntu 12.04 and tried using lftp), I want to be able to make an implicit TLS connection to a FTP server, but I can't quite manage to successfully connect. All I am ...
1
vote
2answers
151 views

How can I install a package on OpenBSD?

I installed OpenBSD and then proceeded to download firefox using the PKG_PATH environment. It worked and seemed to run reasonably well but then, wanting to try another browser, I deleted firefox ...
0
votes
0answers
14 views

curl command - any option for site RDW and site SDB

I have an ftp command and i want to change it and use curl instead, but i am not able to find any options for site RDW and site SDB. Is there a solution? My ftp command is similar with: ftp ...
-1
votes
1answer
29 views

Transfer localhost:8081 to my Webserver via FTP

I have a raspberry pi with motion installed. I have a mjpg at localhost:8081 and want to transfer it to an other webserver on the internet, so it's kind of a relay. I don't know where to find the mjpg ...
2
votes
1answer
641 views

vsFTPd Browser no Listing

I'm trying to access my ftp server through the browser but I am facing an issue. If I access it using Filezilla, I can see the directories fine. However using a browser I get no directory listing as ...
0
votes
1answer
102 views

Can we use ftp in place of tftp in pxe boot

Tftp is used to get OS image from pxe server to client as it uses UDP for file transfer. But can we use ftp for the same. If yes then how and if no then why?
0
votes
1answer
141 views

Host refused connection when using ftp

I need to connect to my server using FTP, but connection refuses. I have been using SFTP that is working just fine (both locally and externally). Using linux debian. I am able to login with ftp ...
12
votes
2answers
26k views

Why do I get kicked out of a FTP session once I run a command?

Why do I get kicked out of a FTP session once I run a command? It seems that once I successfully login into a server is get the following after running a command such as "ls" (I've enclosed the error ...
40
votes
4answers
336k views

Limit FTP access only to the /var/www with vsftpd

I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user. I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish ...
2
votes
0answers
218 views

Proftpd Problem user account

I have problems with one proftpd server. I use two authentication methods, anonymous and user authentication at the same time. I modified the proftpd.conf to authenticate against the /etc/proftpd/...