Difference between Getfiles and Getfile methods

+2 votes
asked Apr 12, 2011 by Gowtham (240 points)
edited Apr 12, 2011

hi can anyone please detail me the difference between Getfiles and Getfile methods?

Applies to: Rebex SFTP, Rebex FTP/SSL

1 Answer

+2 votes
answered Apr 12, 2011 by Jan Sotola (17,670 points)
edited Apr 12, 2011

The following answer applies both for FTP and SFTP components:

  • GetFile method is used to download one, exactly specified file.
  • GetFiles method can download more files (even with subdirectories), specified by wildcards and another options.

The similar difference is between PutFile and PutFiles methods.