SFTP - Download & GetFile

0 votes
asked Apr 17 by Prabhakar (610 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 by Lukas Matyska (58,250 points)
selected Apr 20 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 by Prabhakar (610 points)
Thanks.
You can close this ticket.
...