SFTP - Download & GetFile

0 votes
asked Apr 17, 2020 by Prabhakar (630 points)

What is the difference between Download() and GetFile() other than the return type?

Applies to: Rebex SFTP

1 Answer

0 votes
answered Apr 18, 2020 by Lukas Matyska (61,230 points)
selected Apr 20, 2020 by Lukas Matyska
Best answer

The GetFile() method can be used to download a single file, while the Download() method can be used to download multiple files at once.

Each method has its benefits.

For example, you can download file into a stream using the GetFile() method. You can use wildcards with the Download() method.

More can be found at single file operations and multiple files operations.

commented Apr 20, 2020 by Prabhakar (630 points)
You can close this ticket.