Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: How to iterate through a directory listing by count, bytes, or a filter (list 100 files at a time for e.g.)

$
0
0
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).

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>