Sampling a file (wodSFTP / wodSFTP.NET / wodSFTPdll)
Could any of the GetData or other methods in combination with some event be used to just sample the content of a file without retrieving the entire thing? This would be handy when dealing with large files.
Thanks
Craig Morris
Re: Sampling a file
Hi Craig,
Why not try using GetFileAt/GetFileAt64 methods? You can specify how much you want to retrieve from the server. You could store it to a temporary file, and read it manually.
Even GetData creates a file locally, so basically you could accomplish the same thing this way.
Hope I helped.
Regards,
Damba