المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : create Folder in remote Server with c#



C# Programming
07-23-2009, 04:10 PM
Dear All,
I am trying to create a folder in our remote server which is inside our domain.
i am using very simple code as CreateDirectory("dirPath").
i am getting an exception which says access denied to path "file path".
well i have user name and password which i can access remote server from windows.
how can i access remote server with my user id and Password and then create directory or files based on userid which i am logged in?

Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan