Dateien aus dem web downloaden
Dateien aus dem web downloaden
Hallo!
Kann man mit PureBasic dateien aus dem Internet downloaden? Also ich gebe den link an und das programm läd die datei dann auf meinen Desktop oder in ein ordner, welchen ich vorher gewählt habe.
Mfg Alex
Kann man mit PureBasic dateien aus dem Internet downloaden? Also ich gebe den link an und das programm läd die datei dann auf meinen Desktop oder in ein ordner, welchen ich vorher gewählt habe.
Mfg Alex
Diesen Befehl habe ich auch mal bentzt, und dann meldete mein AntiVirenprogramm AntiVir, dass mein Programm ein Virus vom Typ "TROJAN/Downloader" ist... Kann man das umgehen?
Woran liegt das? Ich will nicht diesen Befehl in meinen Applikationen benutzen um meine "Kunden", bzw. User zu verunsichern oder gar zu verägern...
Woran liegt das? Ich will nicht diesen Befehl in meinen Applikationen benutzen um meine "Kunden", bzw. User zu verunsichern oder gar zu verägern...

PB 4.30
Code: Alles auswählen
Macro Happy
;-)
EndMacro
Happy End
- Tafkadasom2k5
- Beiträge: 1578
- Registriert: 13.08.2005 14:31
- Kontaktdaten:
Davon mal ganz abgesehen das du mit dieser API ned mehr Plattformunabhängig bist.
Wie das genau geht weis ich ned. ^^
Aber APIs sind also für LinuxUser doch schon sher problematisch (also WinAPIs)
Gr33tz
Der Marc
Wie das genau geht weis ich ned. ^^
Aber APIs sind also für LinuxUser doch schon sher problematisch (also WinAPIs)
Gr33tz
Der Marc
OpenNetworkConnection() hat geschrieben:Versucht eine Verbindung mit dem angegebenen Server aufzubauen. 'ServerName$' kann eine IP-Adresse oder ein voller Name sein (z.B.: "127.0.0.1" oder "ftp.home.net").
php-freak hat geschrieben:Ich hab die IP von google auch ned rausgefunden!
> Auf Windows sollte das laufen 
dachte ich mir
> ich habe es probier und er downloadet es auch weiss halt nur net für was
> die zahlen sind
Grüße ... Kiffi

dachte ich mir

> ich habe es probier und er downloadet es auch weiss halt nur net für was
> die zahlen sind
Alle Klarheiten beseitigt?API-Guide hat geschrieben:· pCaller
Address of the controlling IUnknown interface of the calling Microsoft®
ActiveX® component (if the caller is an ActiveX component). If the calling
application is not an ActiveX component, this value can be set to NULL.
Otherwise, the caller is a Component Object Model (COM) object that is
contained in another component (such as an ActiveX control within the
context of an HTML page). This parameter represents the outermost
IUnknown of the calling component. The function attempts the download
within the context of the ActiveX client framework and allows the caller's
container to receive callbacks on the progress of the download.
· szURL
Address of a string value containing the URL to be downloaded. Cannot be
set to NULL.
· szFileName
Address of a string value containing the name of the file to create for bits
that come from the download.
· dwReserved
Reserved. Must be zero.
· lpfnCB
Address of the caller's IBindStatusCallback interface. URLDownloadToFile
calls this interface's IBindStatusCallback::OnProgress method on a
connection activity, including the arrival of data.
IBindStatusCallback::OnDataAvailable is never called. Implementing
IBindStatusCallback::OnProgress allows a caller to implement a user
interface or other progress monitoring functionality. It also allows the
download operation to be canceled by returning E_ABORT from the
IBindStatusCallback::OnProgress call. This can be set to NULL.
Grüße ... Kiffi
Nein. Hat denn keiner eine Antwort auf meine Frage?Kiffi hat geschrieben:Alle Klarheiten beseitigt?
PB 4.30
Code: Alles auswählen
Macro Happy
;-)
EndMacro
Happy End
wie man an meinem Quoting sieht, war das ja auch weniger eine Antwort aufAND51 hat geschrieben:Nein.Kiffi hat geschrieben:Alle Klarheiten beseitigt?
Deine Frage.
> Hat denn keiner eine Antwort auf meine Frage?
ich habe (wie Laurin) selber AntiVir installiert und kann Dein Problem nicht nachvollziehen.
Grüße ... Kiffi