0

Is possible to Open a file and read using ZK

asked 2018-10-17 06:40:20 +0800

bztom35 gravatar image bztom35
1

In Java, you can open a file from jfilechooser and do something with that file.

Is possible to do something like that in ZK?

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2018-10-17 11:36:57 +0800

MDuchemin gravatar image MDuchemin
1336 1 4
ZK Team

Hi!

Are you trying to upload a file from the user's computer to the server, or download a file from the server to their computer?

Using fileupload, you can open a "file search window" on the client's computer, and the selected file will be sent to the server, where you can do Java things to it :)

I would recommend starting at the file upload documentation and the file download documentation (if you need to push files the other way around)

link publish delete flag offensive edit
0

answered 2018-10-17 11:46:35 +0800

bztom35 gravatar image bztom35
1

I am trying to open a csv file and process it using inputstream, but I can't figure out how to read the file from user's pc using ZK framework.

I can do it with regular Java.

I don't want to upload the file to the server.

link publish delete flag offensive edit
0

answered 2018-10-17 23:48:31 +0800

bztom35 gravatar image bztom35
1

I have figured it out how it work now. :-)

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2018-10-17 06:40:20 +0800

Seen: 9 times

Last updated: Oct 17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More