Need to upload file to web server
Posted on 2003-03-18
We need to receive files from a trading partner. The files are zipped (for size) and we need them to be transmited over ssl for security.
We are looking at hosting FTP/SSL, but we also want to look at HTTP/SSL.
There are libraries (plenty) for the FTP side, and there appear to be third-party libraries for the HTTP side as well, but we'd like to do this with XMLHTTP if possible.
Is there a way to attach a file on the client O/S (Win32) to an XMLHTTP Post or Put? We do not want to read the file and embed it as I've seen elsewhere, we want to deliver the file to the server in the same format and manner as would happen if someone used a form and selected it.
We really need an example of doing this if it's possible.