Page 1 of 1

Upload BLOB and progress bar

Posted: Mon 02 Feb 2015 07:40
by aparvis
Hi

I need to store a large file in BLOB column (10MB and more). ODAC demo shows how to upload file using ParamByName('').AsOraBlob.LoadFromFile. Uploading takes time so is there a way to get upload progreaa information during this process? I'd like to show progress bar informing user how many bytes have been already uploaded.

Re: Upload BLOB and progress bar

Posted: Tue 03 Feb 2015 13:18
by AlexP
Hello,

There is no such functionality.

P.S. After loading with the LoadFromFile method, sending to the server will be a long-time operation on big data.

Re: Upload BLOB and progress bar

Posted: Fri 06 Feb 2015 11:38
by opylypcz
Hello,

does it means that there is a chance to get progress information using .LoadFromStream method ?

regards
Alex

Re: Upload BLOB and progress bar

Posted: Fri 06 Feb 2015 12:30
by AlexP
If you have a Source Edition, we can show you where to add necessary changes to solve the issue.

Re: Upload BLOB and progress bar

Posted: Mon 09 Feb 2015 14:02
by opylypcz
We are planning to buy "source edition" license, thank you.

Re: Upload BLOB and progress bar

Posted: Tue 10 Feb 2015 09:37
by AlexP
You can edit the LoadFromStream/SaveToStream method to call the event in a loop, that will display the progress percentage of file loading.