开发者

Form Application VB.NET File.Create Method, Access Denied to Path

开发者 https://www.devze.com 2023-04-07 03:06 出处:网络
I wrote an application which parses a website and downloads an mp4 file from website. User can select the path where he wants to download the video.

I wrote an application which parses a website and downloads an mp4 file from website. User can select the path where he wants to download the video.

When I try to download I get an exception for the file, Access Denied to Path. When I gave the permissions to folder that I chose, then works fine.

How can I resolve that problem? End-User will select the folder. How do I change the permis开发者_JS百科sions? or any other solution ?


The end-user can only select a folder that he has write access to.

You're asking to destroy the Windows security model.

0

精彩评论

暂无评论...
验证码 换一张
取 消