The File Transfer Protocol
1
vote
1answer
126 views
Do we need to chmod a shell script before it can be rsh
I tried to rsh a shell script from OpenVms to a Red Hat linux. It seems that it is not executed.
I created the shell script in OpenVms and Ftp it to the linux. I then ls -la the folder in linux:
...
5
votes
1answer
3k views
How can I create users with only remote ftp access on Linux server?
I'm running a Ubuntu 10.04 LTS server and I want to create users who can only access the server from ftp.
What I did so far is:
Install vsftpd
Create new user with default login shell set to ...
2
votes
1answer
432 views
pure-ftpd permission denied on external usb drive
I have a sheevaplug PC (Debian installed) that I'm trying to setup my personal FTP server with. So far I was able to set up auto mounting and installed pure-ftpd. I currently have autofs setup to ...
0
votes
1answer
263 views
VSFTPD link to a folder in root folder
I have just setup the basic stuff for vsftpd. I got that working fine with root use thats all. I have also stupidly installed something to the root user home directory which I would like another user ...
0
votes
1answer
671 views
Connecting to FTP sites via squid
I'm using the squid proxy on CentOS but, I can't connect to FTP sites from WAN. I did open FTP ports in the firewall on CentOS. However, I receive a "Page cannot be displayed" error when I try to ...
1
vote
1answer
686 views
Why am I getting a “Listing remote folder failed” error when I try to connect with SFTP?
I set up SFTP, but I have a problem regarding iptables. Here are my rules:
A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
A RH-Firewall-1-INPUT -m state --state NEW -m ...
1
vote
1answer
381 views
Test FTP Username and Password
I'm working on a program that involves uploading some files via FTP. However, I'd like to abort the process if the username and password given by the user are incorrect.
Is there any way to "test" if ...
6
votes
2answers
2k views
User can't touch -t
When SCP'ing to my Fedora server, a user keeps getting errors about not being able to modify file timestamps ("set time: operation not permitted"). The user is not the owner of the file, but we cannot ...
1
vote
1answer
363 views
Need command-line program to download all of http:// https:// scp:// ftp:// style links (on e.g. ubuntu)
I'm writing a perl program where I want to accept all kinds of "file names" from the user, including /home/foo/bar.txt and scp://server/some/file.txt or whatever. And then I thought that if I can find ...
2
votes
1answer
265 views
A local, centralized, secure way to store FTP login data, including passwords
I want to be able to store the login details all of my remote FTP accounts in one place, securely. Then I'd like clients like autofs/curlftpfs, Filezilla, etc to use this one store of passwords. I'm ...
7
votes
1answer
308 views
ftp and shebang
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?
7
votes
5answers
3k views
Why does SCP hang on copying files larger than 1405 bytes?
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 ...
1
vote
1answer
433 views
(some) FTP clients timing out on data connection
I'm trying to connect to a server via FTP and I'm having some problems.
Server is a CentOS with Pure-FTPd.
My usual client is lftp which on this server gets stuck at "Making data connection". All ...
3
votes
1answer
2k 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 ...
3
votes
1answer
489 views
Set visible directories for SFTP access?
I am setting up SFTP access to one of my machines running Linux with the Dropbear SSH server. When I SFTP onto the machine remotely, I can see the entire filesystem on it, even if I might not have ...
-1
votes
1answer
1k views
How can I open port 21 on a Linux VM?
I need to open port 21 on a Linux (CentOS 5) virtual machine I have. I have tried several Google solutions, but none are working. I was wondering if someone could tell me how to do this.
Below is ...
2
votes
2answers
623 views
Puzzle: transfering files between two servers (ssh, ftp, http multipart…)
A puzzle: files being uploaded in realtime by SCP to SERVER1 need to be transfered to SERVER2.
But:
SERVER1 doesn't actually have network access to SERVER2 (NAT), however SERVER2 has SSH access to ...
4
votes
3answers
4k views
FTP client with a good GUI?
I love linux because I get control over my system. But I do herald from the school of mac, where things are simple, beautiful, and powerful. I like it that way, as opposed to having lots of knobs and ...
1
vote
1answer
1k views
How to allow a particular user to access the FTP?
Anonymous / FTP users are allowed to access the FTP. Suppose if there is a user named as JOE then how can I allow him to access the FTP?
7
votes
5answers
1k views
Easiest way to duplicate directory over FTP
I want to duplicate a directory on an FTP server I'm connected to from my Mac via the command-line
Let's say I have file. I want to have files2 with all of file's subdirectories and files, in the ...
0
votes
2answers
340 views
How to set up file permissions/ownership for FTP/Apache/PHP on CentOS
I have basic understanding of chmod and CentOS file permissions. 777 stands for 111111111 and rwx for each root, group, user, etc. What I can't get my head around is setting up Apache, FTP and PHP to ...
1
vote
2answers
8k views
How do I set the default ftp root folder for an Ubuntu user connecting to VSFTPD?
How do I set/change the default ftp root folder for a specific user? I want to be able to create a developer account that homes to different sites on a development box depending on what is currently ...