I am trying to see if there is a way to iterate through a secure FTP directory listing by count, bytes, or a filter or some other manner. I would like to only read the first 100 or so file names in a directory and then process them and continue with the next 100 or so files for example.
This is a workaround to calling “ListDirectory” and the main reason for this is because I have come up against some limits when there are too many files in a directory (more than 235). I found out there may be some issues with the FTP server I am using (SSH-2.01.36 Globalscape).
This is a workaround to calling “ListDirectory” and the main reason for this is because I have come up against some limits when there are too many files in a directory (more than 235). I found out there may be some issues with the FTP server I am using (SSH-2.01.36 Globalscape).