Announcement

Collapse
No announcement yet.

PHP for FTP login?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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]

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎