Click to See Complete Forum and Search --> : Browse server


MasterDucky
January 14th, 2011, 05:46 AM
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:


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

PeejAvery
January 14th, 2011, 10:54 AM
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.

MasterDucky
January 15th, 2011, 05:23 AM
Thank you Peej, i will try to do the safe way then.