How to download file from password protected directory using HTTP

C

Christine

I am currently using Dev Ashish's HTTP mechanism to download files from a web
server to client machines (thanks Dev).

I have since decided to password protect the directory from which the file I
want to download resides for additional security but I'm not sure how to
change the code to accept a username and password.

I have tried adding an apiInetConnect call between the apiOpen and the
apiOpenURL calls but I have not managed to get this to work. I am also not
sure whether this is the correct thing to do.

Could someone please point me in the right direction? Many thanks in advance.

Christine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top