Discuss this help topic in SecureBlackbox Forum
Clouds: Download file
Dropbox supports partial download of files. To download a file from Box.com take the following steps:
C#:
FileStream output = new FileStream(@"X:\downloaded.bin", FileMode.Create);
try
{
storage.ReadObject(@"/Parent1/Parent2/filename.ext", output);
}
finally
{
output.Close();
}
If you already have an object of TElDropboxDataStorageObject class, you can use its Read() or ReadBlock() methods.
TElDropboxDataStorage class has OnProgress event, which allows to track and show the progress of data download, and interrupt the transfer if necessary.
If the file was encrypted or signed when it was uploaded to the server, then during downloading of such files the additional steps are to be taken.