Posted Fri, 19 Mar 2021 05:45:17 GMT by

I have a customer who is dropping hundreds of files on my FTP site at once. I have a script that is downloading them and redistributing them, but it's taking so long with this number of files that I'm looking for a method of downloading files in, say, blocks of 50 files, for each run of the script. The files are of various types with different names and extensions, so I have to use *.* to download.

I'm good with how to process the files once they are downloaded - I just can't find a way to limit or loop the download process so that it only downloads fifty files at a time. Is there a way to do this?

Posted Tue, 23 Mar 2021 08:43:04 GMT by

I have found a method to do this that is working great, so this question can be closed.

You must be signed in to post in this forum.