How to upload local file to folder in App Server?
Hi rohitwadke,
do you mean get the path on client side?
hey Jimmy Shiau
I mean to say is i dont want to use fileupload button..
application user put file path in textbox then upload file in server location... when user put file path of local machine it searches on server side..
it should search file on client machine..
Hi rohitwadke,
Browser cannot control the file system of client machine. it is a security issue.
how to upload documents like .pdf, .doc, .txt???
Hi rohitwadke,
you cannot do that, it has security issue.
Sorry, I'm new in ZK. I don't understand something, How I know where put the file?
I need upload file but my file is anywhere of my PC, I dont want put the same path to my files upload
What can I do,
thanks in advance
Hi mbercian,
when you upload a file, you will receive a inputstream on server, you can save it in any place you want, if you do know what is inputstream, you can search java io.
ZK - Open Source Ajax Java Framework
Media media = Fileupload.get();
media==null ?
we must add in zk.xml this code
<system-config>
<disable-event-thread>false</disable-event-thread>
</system-config>