PHP Classes

Upload Files

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  Upload Files  >  (Un) Subscribe thread alerts  
Subject:Upload Files
Summary:How can I upload files if the destination form have ajax?
Messages:5
Author:Jose
Date:2007-06-12 20:30:45
Update:2007-06-13 21:48:56
 

  1. Upload Files   Reply   Report abuse  
Picture of Jose Jose - 2007-06-12 20:30:45
Hi, I have a question.... in want upload videos in www.blip.tv, the login is easy, but how can I upload files if when I post video (upload) the next windows is an ajax application that show the progress and make many post (xml) for show the progress....

any idea, solution or implementation similar?

Thanks

  2. Re: Upload Files   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-06-12 22:27:05 - In reply to message 1 from Jose
When the class uploads a form with files it does it all in a single call.

If you want to get some progress information it would require an asynchronous request.

Currently the class does not support asynchronous requests. If there is interest, I may implement that in a future version.

  3. Re: Upload Files   Reply   Report abuse  
Picture of Jose Jose - 2007-06-13 13:18:15 - In reply to message 2 from Manuel Lemos
I think that is a nice feature, do you plan implement it? when?

What is the better option for my requieres and with the actual version of the class? Because I can send the file, but how know if the file is upload correctly?

Thanks

  4. Re: Upload Files   Reply   Report abuse  
Picture of Jose Jose - 2007-06-13 13:22:57 - In reply to message 2 from Manuel Lemos
I think that is a nice feature, do you plan implement it? when?

What is the better option for my requieres and with the actual version of the class? Because I can send the file, but how know if the file is upload correctly?

Tnx

  5. Re: Upload Files   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-06-13 21:48:56 - In reply to message 4 from Jose
I would like to implement it but I am not sure when it will be possible.

If the server returns 200 as request status, you know that at least the request was handled successfully.