Search found 83 matches: urldownloadtofile

Return to advanced search

Re: Downloading from a website

I seem to have a problem with the dllDownloadtofile call. Do i need to put a new library in my make script. This has me confused. DLL Function URLDownloadToFile(pCaller AS LONG, szURL AS STRING, szFileName AS STRING, dwReserved AS LONG, lpfnCB AS LONG) AS LONG PASCAL FROM "URLDownloadToFileA" ...
by hag
Tue May 04, 2010 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Downloading from a website
Replies: 13
Views: 2388

Re: Downloading from a website

Hi, When i don't need work with FTP "(user and password)" I use this function to download: if ( URLDownloadToFile( 0, "http://www.domain.com/file.exe", "c:\file.exe", 0, 0 ) == 1) MsgStop("Error: Your download failed !!!","Error in ...
by lailton.webmaster
Mon May 03, 2010 12:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Downloading from a website
Replies: 13
Views: 2388

Re: file to FTP

Copy file from FTP to local computer I do with URLDownloadToFile() - it work fine.
If do FTPPutFile() from TFTP then It's not work.
by Natter
Sat May 02, 2009 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: file to FTP
Replies: 8
Views: 1218

Anserkk,
The IsExeRunning( "main.exe") return .f., ether windows task table shows no.
But it seems the file still not release even wait many minutes, URLDownloadToFile( 0, cwebpath+"/"+afiles[i], cpath+"\"+afiles[i], 0, 0 ) == 0 // failure

Best regards!
Shuming Wang
by ShumingWang
Thu Dec 18, 2008 1:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to detect app if running in memory ?
Replies: 6
Views: 1205

... local cpath:=curdrive()+":\"+curdir()+"\tmp" hLib = LOADLIBRARY( "urlmon.dll") while .t. if URLDownloadToFile( 0, cwebpath+"/version.ini", cpath+"\version.ini", 0, 0 ) == 0 oIni:=Tini():New(cpath+"\version.ini") newversionid:=oIni:GET("version","version_id"," ...
by ShumingWang
Thu Dec 18, 2008 12:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to detect app if running in memory ?
Replies: 6
Views: 1205

DLL con sintaxis de VB6 / DLL with VB6 sintax

... #include "Fivewin.ch" FUNCTION Test() Local cUrl:="http://planteles.me.gob.ve/login.php?entrada" Local cSaveAs:="temp" Local nResult nResult:=URLDownloadToFile(0, cURL, cSaveAs, 0, 0) RETURN nil *----------------------------------------- #include "vbdll.ch" // FWH entiende esta sintaxis / ...
by César E. Lozada
Sat Oct 18, 2008 5:37 pm
 
Forum: Utilities / Utilidades
Topic: DLL con sintaxis de VB6 / DLL with VB6 sintax
Replies: 5
Views: 3083

hLib = LOADLIBRARY( "urlmon.dll") if URLDownloadToFile( 0, "www.myweb.com/path/my.exe", "d:\downloadtopath\my.exe", 0, 0 ) == 0 Else MsgStop("Not download", "Stop" ) exit EndIf FREELIBRARY( hLib ) DLL32 FUNCTION URLDownloadToFile(pCaller AS ...
by ShumingWang
Wed Jul 23, 2008 1:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Download internet file without interference
Replies: 31
Views: 8831

... 2 BUTTON "Upgrade" OF oDlg SIZE 80, 20 ; ACTION ( lUpgrade := .T., oDlg:End() ) ACTIVATE DIALOG oDlg if lUpgrade hLib = LOADLIBRARY( "urlmon.dll") URLDownloadToFile( 0, "www.my.com/down/my.exe", ".\tmp\my.exe", 0, 0 ) == 0 FREELIBRARY( hLib ) WinExec( "copyfile.exe" ) endif return nil DLL32 FUNCTION ...
by ShumingWang
Sat May 05, 2007 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: call another excute file and close itself ?
Replies: 6
Views: 1639
Previous

Return to advanced search