Need Help Throttling Downloads From an FTP Site

Jim Lambert jiml at netrin.com
Mon Sep 21 21:10:42 EDT 2015


Whoops!

That should be:

on getNextFile
	if lListOfFilePaths = empty then exit getNextFile	
	put line 1 of lListOfFilePaths into remoteFilePath

	delete line 1 of lListOfFilePaths


	—SET THE LOCAL FILE’S NAME HOWEVER YOU NORMALLY WOULD
	put whatever into localFileName
	libURLDownloadToFile ("
ftp://anonymous:myEmailAddress@ftp.sec.gov/
" & remoteFilePath),(exportFolderPath & "/" & localFileName ),"downloadComplete"
end getNextFile

Jim Lambert



More information about the use-livecode mailing list