SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    Free me php klassicd's Avatar
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Web Based FTP Client

    Hey everyone! I've been working on the web based FTP client which I think is pretty cool. I would love if everyone would check it out and provide me with some feedback. Everything from usability to page layout to ftp functions.

    Thanks!

    Oops. Here we go. Too exicted about it, been working on it all night.
    http://www.site-swap.com/sites/ftp/index.php

  2. #2
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure! Where is it?

  3. #3
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by klassicd
    Hey everyone! I've been working on the web based FTP client which I think is pretty cool. I would love if everyone would check it out and provide me with some feedback. Everything from usability to page layout to ftp functions.

    Thanks!
    The URL would be nice

  4. #4
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I only used the Quick Connect function.

    For the Host Address field, you may want to allow inputs like ftp://ftp.FreeBSD.org/ where users put the ftp:// in front - just remove it in PHP. Also, it would be good if you allow inputs like ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/, and cd to the stated directory.

    Also, a reason why the connection failed would be good.

    Adding a checkbox for anonymous login would be good - when the checkbox is ticked, you can fill in the Username field with 'anonymous' and the Password field with some email immediately.


    That's it for now... very nice job btw... any chance of you releasing the source code?

    EDIT: how do I download a file?

  5. #5
    Free me php klassicd's Avatar
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the feedback.

    I added your anonymous option and plan to add the others. I was going to use pathinfo() for the host but realized this could cause a lot of problems. I plan to write a ereg for the reconizing ftp:// and reconizing the path. This might take a while, im not very good and there are a lot of different ways to write a host address. You can only edit files, but downloading is also a great idea. I've never done it before but i asumme its something with the header and forcing the computer to download a file?


    I've attached the source code. I would love if people messed around with it and perhaps provided some functionality for it. Be warned, this is a Nub's experiment with OOP and Classes. It's not very big though so shouldn't be a problem for most people.
    Attached Files Attached Files

  6. #6
    SitePoint Evangelist ucahg's Avatar
    Join Date
    Apr 2001
    Location
    Sarnia, Ontario, Canada
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For this code:
    PHP Code:
     foreach($_POST as $key => $value) {
    if (
    $key == "" ) { 
    echo 
    "All form fields are required.";
    exit();
    }

    I believe you want to check if $value == "", not $key. Also, I would add the strip function to it as well (that is, strip($value)) to strip the spaces, so a space as a value would not work either.

    Also, whenever I try to move beyond the base directory, I get an error message saying Access Denied, while I know I have access.

  7. #7
    Free me php klassicd's Avatar
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you provide some feedback on what type of server your connecting too?

  8. #8
    SitePoint Enthusiast
    Join Date
    Feb 2003
    Location
    Toronto
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe I'm missing something...but why a web based ftp client? I thought all browsers can do ftp already.

  9. #9
    Life is short. Be happy today! silver trophybronze trophy Sagewing's Avatar
    Join Date
    Apr 2003
    Location
    Denver, Phang-Nga, Thailand
    Posts
    4,379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I chickened out. Couldn't bear to put a password in a stranger site!
    The fewer our wants, the nearer we resemble the gods. Socrates

    SAGEWING LLC - QUALITY WEB AND MOBILE APPS. PREMIUM OUTSOURCING SERVICES.
    Twitter | LinkedIn | Facebook | Google+

  10. #10
    Free me php klassicd's Avatar
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That has been the biggest problem trying to get people to use it and provide feedback. Not sure what I should do.

  11. #11
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could setup your own FTP server for people to play with, and post the id/password combo there.

    I didn't try my own sites too, and only did anonymous FTP.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •