CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Browse server

  1. #1
    Join Date
    Dec 2007
    Location
    France
    Posts
    329

    Browse server

    Hello!

    I would like to enable the client to browse another partition on my HDD (not the one where the server is) and download a file.

    Is it possible?
    I thought about something like this:

    PHP Code:
    <input type="button" name="Button" value="Download" 
       
    onClick="window.open('//ip/file:///G:/', 'download'); 
       return false;"


  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Browse server

    If you open that partition to the world with some sort of sharing capability, yes. But, that's a serious security problem.

    The safest route would be to have the server, which already has access to that partition, to read the files and give the users access through an intermediate server page.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Dec 2007
    Location
    France
    Posts
    329

    Re: Browse server

    Thank you Peej, i will try to do the safe way then.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured