Hello, and thanks in advance for your assistance.
I need to catch the completion of a file upload. Is there any javascript method to do this? Something as simple as: alert('File ' + fileName + ' completed.);
If not, do I need to write a custom Handler?
Thanks,
Reagan
I need to catch the completion of a file upload. Is there any javascript method to do this? Something as simple as: alert('File ' + fileName + ' completed.);
If not, do I need to write a custom Handler?
Thanks,
Reagan
Re: Upload complete notification?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Upload complete notification?
So it looks like function bv is called after a completed upload. During this function, how do I see what file has been *uploaded* to the server? The only variable being passed to the function contains information about the location on the client's computer.
Thanks again!!
Re: Upload complete notification?
In case of Asp.Net connector you may check the following files:
_source\Connector\CommandHandlers\FileUploadCommandHandler.cs
_source\Connector\CommandHandlers\QuickUploadCommandHandler.cs
Error codes are documented here.
I didn't check it , but it seems that in "A" you should have the error code (0 or 201 on success).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+