Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
PostPosted: Sun Feb 28, 2010 5:04 pm 
Online
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 9235
Location: Seattle
We don't recommend running an FTP server unless you need to give access to someone other than the owner -- we say that because you can just upload files through Remote Desktop or SFTP (depending on the OS) instead, or download them directly to the VDS.

To upload files on Windows via Remote Desktop, expand "Options" for your Remote Desktop Connection, then click the "Local Resources" tab and make sure that "Clipboard" is selected. Go into "Advanced" and select to share your local hard drive on the remote machine. After you do this, and connect, you'll be able to copy-and-paste between the two machines, and you'll see your drive listed in Explorer on the remote machine.

To upload files on Linux via SFTP, install a SFTP client such as FileZilla or WinSCP. Connect to the IP of your server just as you would through SSH, then upload and download files through its interface.

If you'd prefer to run FTP, we suggest going with FileZilla Server on Windows: http://wiki.filezilla-project.org/FileZilla_FTP_Server. On Linux, vsftpd is the preferred solution ("emerge vsftpd" or "yum install vsftpd" for Gentoo or CentOS, respectively).


Top
 Profile  
 
PostPosted: Wed Apr 07, 2010 3:00 pm 
Online
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 9235
Location: Seattle
On Linux, you'd also need to create a file called /etc/vsftpd/vsftpd.conf. These basic settings in that file will work to allow a non-root user to log in with the normal username and password; he'll then see his home folder as the root folder of the FTP.

Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
nopriv_user=nobody
ascii_upload_enable=YES
ftpd_banner=Welcome to this Nuclearfallout FTP server.
chroot_local_user=YES
pasv_promiscuous=YES
port_promiscuous=YES
listen=YES
pasv_min_port=60200
pasv_max_port=60300

After writing/uploading this file, here's how you would start vsftpd and make it run by default on Gentoo:

Code:
/etc/init.d/vsftpd start
rc-update add vsftpd default


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
It is currently Wed May 22, 2013 10:56 am
Powered by phpBB® Forum Software © phpBB Group