Code: Select all
Function tmp(cnt)
DebugPrint (cnt)
EndFunction
DownloadFile("www.url.it/file", {File = "tmp.txt",func=tmp(userdata=count)})
Thanks in advance for your help.
Would welcome an example.
Code: Select all
Function tmp(cnt)
DebugPrint (cnt)
EndFunction
DownloadFile("www.url.it/file", {File = "tmp.txt",func=tmp(userdata=count)})
Code: Select all
func = tmp(userdata=count)
Code: Select all
Function func(msg)
DebugPrint(msg.action, msg.count, msg.total)
EndFunction
DownloadFile("http://www.url.it/file", {File = "tmp.txt"}, func)
Code: Select all
- New: DownloadFile() and UploadFile() support a new tag named "Encoded" now; if this is set to TRUE,
DownloadFile() and UploadFile() will assume that the URL you've passed is already percentage-encoded
and no more encoding will be done