LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-21-2015, 09:28 PM   #1
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Rep: Reputation: Disabled
Setting up ftp


I have a fresh install of unbuntu server and am trying to setup ftp to upload files from another computer. How do I set this up? Everything I have found has been to setup for FTP server, not what I am looking for.


Thank you,

K
 
Old 11-22-2015, 01:12 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by sraidr69 View Post
I have a fresh install of unbuntu server and am trying to setup ftp to upload files from another computer. How do I set this up? Everything I have found has been to setup for FTP server, not what I am looking for.
I think you want to download files from another computer. Or perhaps upload files to another computer. To upload from another computer to your local computer, you need an ftp server.

You can use the browser to download files, ftp://server.ip.address.or.domain.name/path/to/the/file.
If you want to upload, use an ftp client. I don't know what Ubuntu has in its repositories, perhaps apt-get install ftp is sufficient. Or perhaps this page will help: http://www.ubuntugeek.com/list-of-ft...ntu-linux.html.
 
Old 11-22-2015, 08:53 AM   #3
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
I want to send files from a workstation to the server. I use filezilla and setup with my server un/pw, of course that did not work
 
Old 11-22-2015, 09:23 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by sraidr69 View Post
setup with my server un/pw, of course that did not work
What's un/pw?
 
Old 11-22-2015, 09:32 AM   #5
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
username/password

The ubuntu link just went to ftp clients. I need to get my server setup.
 
Old 11-22-2015, 09:32 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Both computers are on your LAN? I'd export a directory over NFS in your server, mount it from your desktop and copy files back and forth as you like.
 
Old 11-22-2015, 09:44 AM   #7
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
I dont always work from home, so having access outside the lan is what I need.
 
Old 11-22-2015, 11:24 AM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by sraidr69 View Post
I dont always work from home, so having access outside the lan is what I need.
Then you'll want to avoid FTP unless you want your server owned in short order. Since you are using FileZilla, the best option for WAN access would be SFTP. You find that in Ubuntu in the package "openssh-server" Be sure to use a strong password for all you accounts. Once you have it running, which should be easy to do, try setting up key-based authentication. Once key-based authentication works, turn off password authentication, at least for WAN logins.

With SFTP you don't even need FileZilla. Nautilus and the other file managers support SFTP out of the box.
 
1 members found this post helpful.
Old 11-22-2015, 05:29 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by sraidr69 View Post
username/password

The ubuntu link just went to ftp clients. I need to get my server setup.
You're original message says you don't want instructions for an ftp server. Now you say you don't want instructions for setting up an ftp client. Unfortunately, ftp is either client or server software, there is nothing else.

For server setup, try vsftpd, the very secure (and very fast) ftp daemon https://help.ubuntu.com/community/vsftpd. Or don't use ftp at all, but ssh as Turbocapitalist recommends.
 
Old 11-27-2015, 08:16 AM   #10
serverpoint.com
Member
 
Registered: Oct 2015
Posts: 52

Rep: Reputation: 6
Hi,

vsftpd is an FTP daemon available in Ubuntu.

sudo apt-get install vsftpd

Anonymous FTP Configuration
By default vsftpd is not configured to allow anonymous download. If you wish to enable anonymous download edit /etc/vsftpd.conf by changing:

anonymous_enable=Yes
During installation a ftp user is created with a home directory of /srv/ftp. This is the default FTP directory.

If you wish to change this location, to /srv/files/ftp for example, simply create a directory in another location and change the ftp user's home directory:

sudo mkdir /srv/files/ftp
sudo usermod -d /srv/files/ftp ftp
After making the change restart vsftpd:

sudo restart vsftpd
Finally, copy any files and directories you would like to make available through anonymous FTP to /srv/files/ftp, or /srv/ftp if you wish to use the default.

User Authenticated FTP Configuration
By default vsftpd is configured to authenticate system users and allow them to download files. If you want users to be able to upload files, edit /etc/vsftpd.conf:

write_enable=YES
Now restart vsftpd:

sudo restart vsftpd
Now when system users login to FTP they will start in their home directories where they can download, upload, create directories, etc.

Similarly, by default, anonymous users are not allowed to upload files to FTP server. To change this setting, you should uncomment the following line, and restart vsftpd:

anon_upload_enable=YES

Thank you,
 
Old 12-04-2015, 03:44 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
You know, serverpoint.com, you could have just linked to the Ubuntu documentation that you lifted that from: https://help.ubuntu.com/lts/serverguide/ftp-server.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up FTP ps1x0 Linux - Software 2 01-18-2011 01:06 PM
Setting up FTP Carpaurion Linux - Newbie 1 11-09-2004 09:02 PM
Setting up FTP psycoperl Linux - Networking 1 09-18-2004 09:09 PM
Setting up ftp klada Slackware 1 05-10-2003 06:29 PM
Setting up FTP .... sudhir Linux - Networking 14 02-13-2003 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration