Last post Dec 27, 2019 07:55 AM by Brando ZWZ
Dec 14, 2019 06:49 PM|reza-2017|LINK
i want to upload file out of httpdocs
for example upload to sub.site.com
string path = Path.Combine(HostingEnvironment.MapPath(dir), Path.GetFileName(ImageName));
Dec 15, 2019 03:58 AM|bruce (sqlwork.com)|LINK
to read / write files to httpsdocs you use the ftp tool of your choice, or a ftp library if you need to write your own code.
Dec 27, 2019 07:55 AM|Brando ZWZ|LINK
According to your description, I couldn't understand your requirement clearly. Do you mean you want to save the file to the other folder in your server? If this is your requirement, you should make sure your application pool identity has the enough permission
to access another folder.
If I misunderstand your requirement, please fell free to provide more details description.