Re: How to Control number of files to be transferred in sess
Thanks Martin
Session.ListDirectory
) and picking your 5 out of them, calling Session.GetFiles
for each individually.
GetFiles
method session class. This method pulls all files from FTP location to local folder. Is there any method to limit number of files to be transferred at a time?
X0905.A05.502
, OIMX0905.A05.500
, NOMX0905.A05.500
, DBMX0905.A05.500
, CSOX0905.A05.500
, CBMX0905.A05.500
, AMLX0905.A05.500
, CSOY0905.A05.500
, CBMY0905.A05.500
, and AMLY0905.A05.500
.
X
in their names. For this I can write my GetFiles
code as below,
Dim transferResult As TransferOperationResult
transferResult = session.GetFiles("/FTP/*X*", "E:\Local\*", False, transferOptions)
*X*
). How can I control this number of files to be transferred in one session.