I have a Windows Application, and in one of its forms there is a text filed (MyImage) that contains the path for an image file. Check attachment.
What's the code (upon clicking on the [Add] button shown in the attachment) to upload this local file into a remote server?
Note That: The remove server is on the same domain as my local machine wher I'm trying to upload the image file from, and the destination folder that I want to upload to is authenticated for "write access" with my Active-Directory login name and password credintials only).
I want a code that doesn't use FTP, I want a one that is the same as that upload code from a web browser to a remote web server, but in my case here it's a Windows Application.