Publié : sam. 14/juin/2008 9:25




no il y a bien un probleme !!!


ceci ne marche pas !!


Code : Tout sélectionner
InitNetwork ()
If ReceiveHTTPFile ("http://www.cpur.fr/index.html", "d:\index.html")
Debug "Succes"
Else
Debug "Erreur"
EndIf

Forums PureBasic - Français
http://forums.purebasic.com/french/
Code : Tout sélectionner
InitNetwork ()
If ReceiveHTTPFile ("http://www.cpur.fr/index.html", "d:\index.html")
Debug "Succes"
Else
Debug "Erreur"
EndIf
Code : Tout sélectionner
InitNetwork ()
Procedure URLDownloadToFile(Url.s,File.s)
retour=URLDownloadToFile_(0, Url, File, 0, 0)
DeleteUrlCacheEntry_(Url)
If retour=0 : retour=1 : Else : retour=0 : EndIf
ProcedureReturn retour
EndProcedure
If URLDownloadToFile ("http://www.cpur.fr/index.html", "d:\index.html")
Debug "Succes"
Else
Debug "Erreur"
EndIf