LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2009, 11:15 PM   #1
dnoy
Member
 
Registered: Nov 2007
Posts: 69

Rep: Reputation: 15
FTP Server -- Hiding files after upload


I am trying to create an ftp server and hide files once they are done uploading. I want the ability to give this site to many customers and have them dump data to this central place. Once the data gets uploaded they cant see or access the data.

please let me know how i could do this

thank you,
 
Old 05-05-2009, 01:44 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 572

Rep: Reputation: 56
Which FTP server package are you thinking of using? Which distro will you be deploying on?

VSFTP has options to deny downloads (download_enable = NO) so your server only receives uploads, and also you can change the permissions of uploaded files so anonymous users can't read them (anon_umask).

Code:
yum install vsftpd
man 5 vsftpd.conf

Last edited by blacky_5251; 05-05-2009 at 01:45 AM.
 
Old 05-05-2009, 05:13 PM   #3
dnoy
Member
 
Registered: Nov 2007
Posts: 69

Original Poster
Rep: Reputation: 15
i am using debian, i dont care which ftp server i use. does vsftp have a package for debian?
 
Old 05-05-2009, 06:41 PM   #4
mpiekarski
LQ Newbie
 
Registered: May 2009
Location: Newark, DE
Distribution: Gentoo,ubuntu,rhel
Posts: 25

Rep: Reputation: 16
Yes,

VSFTPD is available for debian. Try running:

sudo aptitude install vsftpd

To search for packages, you can run

aptitude search #PACKAGE_NAME#

Inversly, you can also run:

apt-get install vsftpd

For installations and for searches:

apt-cache search #PACKAGE_NAME#

I find aptitude easier to deal with, as it combines the functionality of both and also seems to do a better job at dependency checking / resolutions.

------------------------------------
Michael Piekarski
Network Engineer
mpiekarski@hostmysite.com
www.hostmysite.com

Last edited by mpiekarski; 05-05-2009 at 08:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
C++: how to upload files using ftp matiasar Programming 3 02-25-2009 06:01 AM
Not able to upload files through FTP in Linux thiagarn Linux - Newbie 3 02-24-2008 10:53 PM
upload files on ftp zafar466 Programming 2 12-14-2006 08:16 AM
Upload files to newly setup server via FTP Madone_SL_5.5 Linux - Newbie 4 10-27-2006 07:59 PM
Connection, login and upload files to ftp server via shell script Paulo Ges Linux - Networking 2 02-21-2004 02:01 PM


All times are GMT -5. The time now is 09:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration