SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Generate list of clients machine files?

    Hey there

    I want to make an extensive browser/fileupload script inspired on windows Explorer... A server side listing of the files and directories with the home directory specified in the script and a listing of the clients files. The server side part can be found on http://vegeta.evilkalah.be ... The idea now is to make it possible to upload or download (maybe drag and drop) files from on side to the other. I don't know how I best make the client side. So on this part any help is welcome...

    (any comment on the site (http://vegeta.evilkalah.be) so far is welcome too)

    greetz
    Vegeta

  2. #2
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Errrm - you may not like the answer - basically you can't. Or at least not like you have planned at the moment - a web server cannot have direct access to a visitors local filesystem - this is one of the fundamental security aspects of the Internet.

    What you can do is have people upload files to the server, using their browsers file upload facility. There's also a further limitation here in that you can only upload a single file at a time. This is another fundamental limitation of the existing HTTP protocol.

    There is some good news though - you could upload multiple files at one time using webdav (http://www.webdav.org) - an extension to HTTP which requires the server be updated.

    Nice user interface BTW


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
  •