Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where I can get more better documentation for flow.js? #3

Closed
codeperl opened this issue Nov 10, 2013 · 2 comments
Closed

Where I can get more better documentation for flow.js? #3

codeperl opened this issue Nov 10, 2013 · 2 comments

Comments

@codeperl
Copy link

Hello,

Thanks for the great works first. This is really a nice piece of software which can help me to upload large size files. But I am not sure where I can get better documentation to implement this. If i specifically say, currently I need to get the file name at 'fileSuccess' event. My target is, after uploading the file, I should get the file name(preferably with filePath) and need to make the video file viewable in current page. I change the file name in serverside. So, it is needed to get the changed file name in 'fileSuccess' event. But sorrowly, I can not figure out how to solve. Any kind of help appreciated. Again thank you for make such a nice software and good luck.

@AidasK
Copy link
Member

AidasK commented Nov 11, 2013

Hi,
it seems documentation contained some issues. I have made some changes a60c199.

You can get server response from fileSuccess event. It has second argument message. On server side i suggest you to return JSON with new file name. Json can be parsed with JSON.parse(json);.

If you want to access original HTML5 file object, FlowFile has file attribute.

Hoppe i helped a bit, ask if something else goes wrong.

@AidasK AidasK closed this as completed Nov 11, 2013
@codeperl
Copy link
Author

Thanks for quick response. Just checked and it works! thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants