Indigo Rose Software
  #1  
Old 01-17-2003
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
PHP for FTP login?

OK, here's a screwball question... I'm looking to provide a REALLY easy way to provide authorized users of a web site to be able to log in to the local host's FTP server, and navigate it using their web browser. I bet this can be done using PHP, so here's the specific need:

User provides username and password, and according to a simple config.php script that is defineable by myself to include multiple usernames and their associated passwords, that user is directed to the proper associated directory for FTP usage. All the user needs to remember is their username and password. They fill out a simple form on an HTML page, and voila! they are instantly transported to their proper directory. Should they enter an invalid username/password combo, they are dumped to an error page. Use is logged to a text file.

Has anyone scripted something like this before? I'd love to see it.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #2  
Old 01-18-2003
Derek's Avatar
Derek Derek is offline
Indigo Rose Customer
 
Join Date: May 2001
Location: 51.501296|-2.700963
Posts: 1,206
Re: PHP for FTP login?

Hi Eric - not quite sure if I am reading this correctly!

Would it not be easier/as easy to define the users/permissions in the server and let the Browser handle the login?
You wouldn't have to script anything! [img]/ubbthreads/images/icons/smile.gif[/img]
__________________
-
- Derek
- ["All glory comes from daring to begin" - fortune cookie]

IR WebHelp: AMS6 SUF7 VP2 TU2
Reply With Quote
  #3  
Old 01-18-2003
eric_darling's Avatar
eric_darling eric_darling is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Southeast USA
Posts: 1,804
Re: PHP for FTP login?

Easier on me, definitely. I'm just looking for a way to make it a snap for clients to log-in, upload or download files to my web site, 24 hrs. a day in a specific set of directories. I'm oh so very close right now, but still having problems with temp directory transfers from HTML to PHP via a little script I've modified to suit my purposes.
__________________
Eric Darling
eThree Media
http://www.ethreemedia.com
Reply With Quote
  #4  
Old 01-18-2003
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Re: PHP for FTP login?

Let me know what you come up with, I need to develop something very convenient like that for the new exchanges. We need to offer reliable FTP uploads for all our users in a simple manner, i.e. uploading via their browsers to our FTP would be great as long as it's reliable and efficient.

(Obviously with the option to use an FTP client also if desired for our savvier users)

We don't have to have any passwords though so it makes it easier... We'll just give users write only access to an upload directory and have a cron script which combs that directory every 15 minutes and moves it contents to a non-public directory...

Corey Milner
Creative Director, Indigo Rose Software
Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT -6. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software