Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to acess My pendrive through my website.
Posted

1 solution

If you mean a pendrive attached to your client computer (the one running the browser) then pretty much, you can't - security won't let you. If you could, so could malicious sites - and that would be a Bad Thing. The client can access it and upload a file from it to you, or you can send him a download which he saves onto the pen drive, but you can't specify the destination from your website.

There is an exception to this, but it requires IE, ActiveX enabled and the user to confirm that your ActiveX control is allowed to run - and this happens only in 0.0001% of users as it's all disabled by default to prevent malicious sites doing exactly what you are trying...

If you are talking about a pendrive attached to your webserver, then it's just another drive so provided you have the appropriate access permissions (not guaranteed) you just access it via the drive letter as a normal path.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900