My vb.net application is on server A, and from the application there, user will upload image and that file needs to be saved on another media server which is server B. How to do that? Previously I check the directory, create new directory and save the image on the server A by using these codes:
If Not System.IO.Directory.Exists
" & myFile.PostedFile.FileName
But now I have to save the image/file on another server. Which method should i use? I did try to use webclient:
this gave me method not allowed (405) error. And I read from some articles stating that by using web client we need to write an web page on the server to recieve the file and write it
to the directory but this is not excatly what I want. On the server b, there is only a folder to keep all images/files but no any other application/web page.
Urgent helps needed. Please advice.