Tech Support > Microsoft Windows > Development Resources > Downloading a file from password protected web address
Downloading a file from password protected web address
Posted by Bob on August 26th, 2007


I'd like to add a feature that allows my customer to download files (mainly
upgrade files etc) from a password protected directory in my home www page.

How do comercial program do it? They don't open a browser and I never get any
"Downloading Save - Run" dialog file.

Posted by Kellie Fitton on August 26th, 2007


On Aug 26, 11:03 am, Bob <B...@be.com.invalid> wrote:

Hi,

You can use the following APIs to Download/Upload files from
an FTP server:

InternetOpen()
InternetConnect()
FtpGetFile()
FtpPutFile()
FtpOpenFile()
InternetQueryDataAvailable()
InternetReadFileEx()
InternetCloseHandle()

http://msdn2.microsoft.com/en-us/library/Aa385096.aspx

http://msdn2.microsoft.com/en-us/library/aa384363.aspx

http://msdn2.microsoft.com/en-us/library/aa384157.aspx

http://msdn2.microsoft.com/en-us/library/aa384170.aspx

http://msdn2.microsoft.com/en-us/library/aa384166.aspx

http://msdn2.microsoft.com/en-us/library/aa385100.aspx

http://msdn2.microsoft.com/en-us/library/aa385105.aspx

http://msdn2.microsoft.com/en-us/library/aa384350.aspx

Kellie.