|
|
ÀÛ¼ºÀÏ : 11-09-22 18:39
±Û¾´ÀÌ :
±Ç¿ÀÁØ
Á¶È¸ : 3,587
|
±âÁ¸ÀÇ ¼Ò½º¿¡ À̺κÐÀ» Ãß°¡ ÇÏ½Ã¸é µË´Ï´Ù.^^
FOR nI := 1 TO LEN( aUpdated )
cFile := aUpdated[ nI ][ 1 ]
cTarget := ".\tmp\"+ cFile
nSize := aUpdated[ nI ][ 4 ]
Dr_metRefresh( oMeterNow, 0 )
lFail := .f.
cDownload := Dr_Nowdir()+"\wget.exe "
cDownload += "http://"+GetServer()+"/"+cFolder+"/"+cFile
cDownload += " -O" + cTarget
memoWrit("a.txt", cDownload )
FErase( cTarget )
IF WaitRun( cDownload, 0 ) <> 0
lFail := .t.
exit
ENDIF
Dr_metRefresh( oMeterTot, nI )
NEXT
|
|
|
|
|
|