|
-
January 14th, 2011, 06:46 AM
#1
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;">
-
January 14th, 2011, 11:54 AM
#2
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.
-
January 15th, 2011, 06:23 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|