The File Transfer Protocol

learn more… | top users | synonyms

1
vote
1answer
24 views

how to know on my linux machine if connection VIA sftp is active

I have Linux machine red-hat 5.X please advice - which what command I can identify if someone is tiring to copy files from my machine VIA sftp or ftp is it possible to verify this on my Linux machine ...
0
votes
2answers
25 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 ...
7
votes
3answers
448 views

in Bash, how to not include extra arguments in an alias?

I am trying to do something like alias ftp='echo do not use ftp. Use sftp instead.' just so that ftp will not be accidentally used. But I noticed that ftp abcd.com will cause the command to ...
0
votes
1answer
41 views

proftpd conf on debian

Iam new to linux / debian Im trying to configure an ftp server in debian using proftpd. I installed the package A user is created when it is installed I put a password to this user and it is working ...
1
vote
1answer
84 views

Sh Script using ftp to put a list of files

So my Script looks something like this: #... files="$(find $line/processed/* 2>/dev/null)" #2>/dev/null used for error output suppression if [[ ! -z "$files" ]] then ...
0
votes
1answer
41 views

centos folder permission ftp user and apache

I have some folder, need anybodies php scripts can create sub folder/files and unlink files. I do sudo chown -R apache:apache /var/www/public_html/a But after that, my ftp user cannot upload files ...
3
votes
1answer
48 views

how to transfer files between two ftps

I need to transfer files from my ftp to another, is there any tool to put two access and I transfer from one to another without downloading the files to my machine?
0
votes
0answers
40 views

Scheduled job to move files from web server to NAS

I have a website hosted on a shared server. Once a week a cron job runs on the web server to tar the www folder and export the MySQL database to a password protected backup folder. I have a Synology ...
1
vote
1answer
33 views

Return code is always 0 after running echo “\$ macroName ” | ftp -i mymachine

I cannot seem to retrieve a non-zero return code when calling the ftp macro. It doesn't matter what errors are encountered during the ftp macro execution e.g. directory doesn't exist, file doesn't ...
1
vote
1answer
23 views

Forward every port depending on domain

A friend and I are doing some little webhosting for us. Currently all the pages are running on one Server via Apache2's virtual hosts. Know we wanna make single servers for each site with ssh-access, ...
1
vote
1answer
41 views

HPUX logging ftp connection

Host is 11iV3. I am trying to log ftp transfert outside syslog.log in /etc/inetd.conf ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -u 022 -o -i -X where -i/-o tell ftpd to log ...
0
votes
1answer
130 views

Grant FTP access to specific directory

I have setup CentOS on a box on my local network and installed httpd, PHP, Webmin (and UserMin) etc. I opted for ProFTPd and have opened up ports for FTP, Webmin and Apache. I can now access Webmin ...
2
votes
0answers
84 views

Why can't I transfer a file via wget (FTP) using exec() function in PHP?

Put simply, I can't work out why the code below won't carry out a file transfer? I have been assured by the sysadmin staff on the remote server that there are no permissions/firewall issues that could ...
2
votes
1answer
119 views

Writing to an interactive prompt

I’m using the ftp command line tool and want combine scripted input with user input. With only user input the prompt looks like this: ftp> But when I try to insert some input with a script, like ...
0
votes
2answers
68 views

keep script running while screen is locked for a long time

I have a script that is running on my computer. The script is written in PHP under my XAMP server. It actually is reading some files from a remote FTP server and after processing them writes them back ...
0
votes
0answers
20 views

How to set a different directoy for a FTP folder in FreeBSD

I am kind of new to FreeBSD and the idea is to set up a FTP server with specific users. I have created the users but I don't want to use their home directory to store the uploaded files. I want to set ...
2
votes
0answers
604 views

Installing vsftpd on Ubuntu - could not bind listening IPv4 socket?

For my network security class I have to set up an FTP server on a virtual machine. We are set up with 3 VM's - Gateway, Client, and Server. I have installed vsftpd using the command: sudo apt-get ...
1
vote
1answer
104 views

FTP “put” not copying file to remote host when ran from shell script but copies the file to remote host when ran manually

ftp -n ${FTP_HOST} << STOP user ${FTP_USERNAME} ${FTP_PASSWORD} binary lcd ${FTP_FROM_DIR} cd ${FTP_TO_DIR} put ${reportFileName} STOP That is my code which is not ...
0
votes
0answers
179 views

FTP connection to Linux Mint: 550 Permission denied. Error: Critical file transfer error

I am using Linux Mint and Apache on my laptop as my own made web server. I can display the html file if I connect to the IP adress. I can display all files in my hard drive if I connect using ...
0
votes
0answers
101 views

FileZilla: Failed to retrieve directory listing

I am running Ubuntu 12.04 as the host and installed Ubuntu 14.04 in the Virtualbox as Guest OS.I have installed and configured VSFTPD on Ubuntu 14.04 and forwarded the virtualbox port's as follows: ...
2
votes
1answer
44 views

Bash script for logging in ftp

I have seen this question: link I have similar, if not the same request. I'd like to create a script that will log me in ftp server. I do not want to automate the whole exchange, I just want to speed ...
0
votes
1answer
516 views

uploaded file via filezilla to proftp server(on ubuntu 14.04 lts) but reported 550 error

uploaded file via filezilla to proftp server(on ubuntu 14.04 lts) but reported 550 error 550 download.html: Permission denied Error: Critical file transfer error I try to set the directory to ...
0
votes
1answer
215 views

How to change the ftp server port in ProFTPD

I want to change my ProFTPD server port from 21 to 1945. But I didn't find any port mention in the proftpd.conf file. When I add port 21 in the conf file and restart the ftp server it shows the ...
3
votes
1answer
116 views

Proper way to handle FTP over SSL with restrictive firewall rules?

Without SSL, FTP works fine over a stateful Firewall, like netfilter (iptables) + the nf_conntrack_ftp kernel module like this: # modprobe nf_conntrack_ftp # iptables -A INPUT -m conntrack --ctstate ...
1
vote
2answers
763 views

Shell script: whole directory to the remote ftp server

I am trying to ftp some recording files to a remote server for backup every night. I am very confused regarding shell script. My question / problem is : I want to move the whole folder/directory ...
0
votes
0answers
53 views

Wget rename .listing

I'm running multiple instances of wget from the same directory (and connected to the same ftp). wget stores the locations of files on the server in a .listing file. I've noticed that many of my files ...
0
votes
1answer
35 views

Providing ftp access (of selected files) to users from a hashed repository of unique files

We have a portal where each user has an account and a file repository that goes with it. Whenever any user uploads a file using a form, the php app hashes the file contents first and checks to see if ...
0
votes
0answers
524 views

How to fix “cannot retrieve repository metadata” when installing CentOS 6.5 from Kickstart over FTP?

I am pulling my hair out trying to fix this. I am attempting to install CentOS 6.5 over an FTP server on KVM from the physical host. I have vsftpd installed, selinux set to permissive, and iptables ...
3
votes
1answer
292 views

How do I enable rsync in libcurl?

I'm on Arch. When pacman tries to download a package from an ftp server, It fails with the error message Protocol rsync not supported or disabled in libcurl This has been bugging me for a little ...
2
votes
1answer
648 views

Why can't anonymous users delete files via ftp?

I've created a new directory "uploads" in /var/ftp. The owner and group of this directory is "ftp" and the permissions are set to 777. Content of my vsftpd.conf file: anonymous_enable=YES ...
2
votes
2answers
297 views

Does vsftpd support plain FTP?

I have been able to set up a SFTP server using vsftpd on Ubuntu 14.04. However, I want to experiment with plain (unencrypted) FTP to see the unencrypted packets using wireshark. To set up the SFTP ...
1
vote
1answer
173 views

Configure vsftpd allow access to mounted ISO file

I am having problems to allow anonymous FTP access to a directory that mounted a ISO file. No change to /etc/vsftpd/vsftpd.conf RHEL 6.5 DVD ISO file saved to /var/ftp/pub/ISO/rhel6_5.iso ...
1
vote
1answer
308 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 ...
0
votes
1answer
57 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
693 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 need some help on how to transfer files use lftp. I used the below command but got an error as bad command. ...
1
vote
1answer
1k views

priv_sock_get_cmd error with vsftpd

I've installed vsftpd on my local system. When trying to connect to it using filezilla I get following error: Status: Connection established, waiting for welcome message... Response: 500 OOPS: ...
0
votes
1answer
649 views

multiple ftp user sharing common home directory

I want to setup like mentioned, where I can create multiple ftp users with having same home directory. What I have tried so far, Created new user with pointing to the directory of ftp user as home, ...
0
votes
0answers
86 views

How to get the last file added to a directory with LFTP?

I am trying to get only the last file added to a directory using LFTP and parameters mirror -n, -N but all my attempts didn't work. Is there a way to do it with LFTP?
5
votes
1answer
906 views

Apache, Group Permissions and User Uploads

I have a folder named "digitalgoods" with the following ownership -- apache:apache residing outside of the htdocs folder and is therefore not accessible to the public. However I need the same folder ...
-1
votes
2answers
415 views

FTP clients only showing 9998 folders in a directory with many more

How can I increase the limit of files or folder in linux? Right now when I use any ftp software it shows that there are only 9998 folder in that directory. But I ran a simple php script that would ...
0
votes
1answer
455 views

How to specify username password for ftp

ftp ftp://bapte:b2p7Ua2@ftp.backupte4.rsyncbackup.info And I got ftp: ftp://bapte:b2p7Ua2@ftp.backupte4.rsyncbackup.info: Name or service not known I tried a bunch of different things. I looked ...
-1
votes
1answer
636 views

Unable to connect FTP: 530 Login incorrect

My account has been created on a LINUX server and I am able to login through putty. I have changed my password also. But, to move a file there, I tried to connect that server through FTP client. I ...
2
votes
1answer
4k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
1
vote
1answer
69 views

vsftpd limit users to /home/user/minecraft

So using vsftpd I want to lock a user to /home/theirname/Minecraft. I can't change their home directory because a program I'm using(McMyAdmin) will try to reinstall itself but I don't want them having ...
1
vote
3answers
420 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
2answers
702 views

gvfs-mount auto password

I would like to make shortcuts for gvfs mounts (I prefer to mount from the shell). For this, it is quite necessary/convenient not to have to enter the password for the ftp:// and sftp:// connections . ...
1
vote
1answer
142 views

FTP download problems with iptables — Port 21 connection is allowed but “Network is unreachable”

I'm trying to connect to an FTP site but with, e.g., wget: Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /gcrypt/gnutls ...
1
vote
0answers
53 views

Renaming public_html for main domain to subdomain which is development website

In CPanel I created a subdomain test.mydomain.com under my main domain mydomain.com. Both domains have magento websites. The contents of mydomain.com are stored in public_html and the contents of ...
0
votes
2answers
651 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
0answers
43 views

Character encoding of .netrc

Does anyone know which character encoding is used in .netrc? As a German user, I sometimes put umlauts in passwords. So my question is, are these treated as latin1 or may I assume that I am doing ...