ReceiveHTTPFile() with userID and password, possible?
Posted: Sun Apr 11, 2010 7:35 pm
Hello, is it possible to download a file with ID and password on http://... ??
The following code doesn't work. (example)
The following code doesn't work. (example)
Code: Select all
InitNetwork()
Filezip$ = SaveFileRequester("Where to save filename.zip ?", "", "", 0)
If Filezip$
user.s = "userid"
pass.s = "passw"
If ReceiveHTTPFile("http://"+user+":"+pass+"@www.domain.com/filename.zip", Filezip$)
Debug "Download done"
Else
Debug "Download failed"
EndIf
EndIf