Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Using FTP to allow customers to upload files.
Old 02-15-2009, 03:35 PM Using FTP to allow customers to upload files.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
I want people to add files through a site I have. they are big files so it can't be your standard upload file system. I don't want people to see the existing files there so I don't want to use ftp://mysite.com. There are site's like drop.io and bigfile.com that offer this service for a price, but I was wondering how easy is this to implement into a site with a simple upload button.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
 
Register now for full access!
Old 02-15-2009, 03:44 PM Re: Using FTP to allow customers to upload files.
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
Just create an FTP account with access to only one folder on the site?

Login to the hosting control panel, you should be able to create a new FTP user and select what folders they can and cannot access.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 02-15-2009, 04:22 PM Re: Using FTP to allow customers to upload files.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
But I need a way for them to upload without seeing what is already in that folder and not be able to download existing files.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 02-15-2009, 04:39 PM Re: Using FTP to allow customers to upload files.
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
You could make a FTP that is constantly changing the folder it uploads to (like once it's been accessed the FTP account changes directory).

However, I think the best method (in my view) is a browser based upload. You can change the size of the file's allowed to be uploaded in the PHP configuration file. This way you can hide the files and let them just upload one file
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 02-15-2009, 06:08 PM Re: Using FTP to allow customers to upload files.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
Quote:
Originally Posted by rogem002 View Post
However, I think the best method (in my view) is a browser based upload. You can change the size of the file's allowed to be uploaded in the PHP configuration file. This way you can hide the files and let them just upload one file
For some reason I can't get files that are much bigger than 10 megs to upload even though i've increase all the relevant numbers on the php.ini/phpinfo file and restarted the server. I'll have another look at it, Maybe i've missed something.

It's just that I came across some php ftp inbuilt functions that I didn't know much about and was wondering if I could just create an uploader this way but i'm guessing this is going to be really complicated.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Reply     « Reply to Using FTP to allow customers to upload files.
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.64149 seconds with 12 queries