PDA

View Full Version : HTTP and HTTPS support?


scole250
February 18th, 2008, 06:25 AM
I know that files can be accessed on a HTTP server, but is there any way to pass a username and password to get past HTTP Authentication? Also, is there support for HTTPS? If not I was wondering if the OpenStream method could be used, but I don't really know how it's implemented and I haven't found another ActiveX control to open a stream over HTTPS to pass to the OpenStream method. Any suggestions?

Thanks,

Steve

jinming_wang
February 20th, 2008, 04:57 PM
Hi.Function OpenFile supports http,but i am afraid that it dose not support https for now.Function OpenStream only supports open a pdf file when the file has completely downloaded in the memory.

scole250
February 22nd, 2008, 05:53 AM
I ended up writing a wrapper ActiveX control that downloads the PDF using Msxml2.XMLHTTP and writes it to the local drive using ADODB.Stream. Not the most elegant method, but it works.

techbrain55
March 13th, 2008, 12:09 AM
Hello there,
There are a couple of different parameters you can use with the "net use" command to connect to a network machine depending on what you need.The most basic is to create an authenticated connection and pass the "user" and "password" via the command line. Feel free to drop any queries further.
Regards,
Techbrain55