Rank: Newbie Groups: Member
Joined: 6/17/2010 Posts: 1
|
Hi, I am trying to upload a file into a site which is having EO Ajax uploader component using PHP curl lib scripts. No clue how to upload file using script. Here is sample asyn request when i do it from browser. https://Some site?id=some id&uploader_data=ECFnZXRfcG9zdGVkZmlsZXMCTk1jdGwwMF9NYWluQ29udGVudFBsYWNlSG9sZGVyX0FKQVhVcGxvYWRlckNvbnRyb2w6QnJzQWR3Q2k2QUNmekdXbzFGUExlTElBY3VDSScmczphMDExMzY4Yy1jMzQ5LTRhMmItODE5MC1jMTRlZjg0YTk4NjE.
1. Can some help me by explaining how "uploader_data" works? 2. how to capture on click event of Upload button. 3. How i can assign a file to the EO Ajax uploader?
your help is highly appreciated.
Thanks, Venkat Edala
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am not sure what you meant by "having EO AJAX Uploader using PHP curl lib scripts". Our uploader is for ASP.NET server control. So the server side must run ASP.NET. As to your other questions:
1. "upload_data" is for our server side code to process. You neither need to worry about it nor need to do anything with it; 2. You never capture the click event of the built-in upload button. You can however replace the built-in upload with your own button and handle click event on your own buttons. Please see "Custom Layout" samples for more details; 3. You do not. Whatever files to be uploaded to your server must be explicitly selected by end user through browse file dialog. This is a security measure to prevent site developers to siliently pulls files from users’ computer;
Thanks!
|