C# Upload Files on another partition of the server -


i'm using fileupload.saveas() function of c# upload files server want save files on partition. let say, save files on drive d of server instead on current drive drive c. please share thoughts. advance.

i have learned using full path such as

 fileupload.saveas("d:\fileupload"); 

will save file outside web server.

check this out.

to simplify question, how can upload files on other partition of server hosts web app?

based on documentation http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.saveas.aspx, string filename full path name of location save. meaning should able e.g:

fileupload.saveas("d:\where_you_want_to_save") 

by way have tried , error did get?


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -