I have created a flex web application with php server side support. There is a file upload functionality in this website. When I’m uploading a file using flex upload controller, does it uses a huge amount of memory from the client machine that uploads the file? and how does flex controller transfer the file to server (upload the whole file at once, upload as chunks) ?
Doesn’t flash.net.FileReference class allow huge file uploads (more than 4GB)?
Cheers!!
flash.net.FileReference uses whatever network stack is available in the OS. For example, on MS Windows, this is WinInet library. So, it doesn’t load the entire file into memory for transmitting it to server since WinInet doesn’t require that.
That said, it doesn’t do a ‘chunked’ upload. It does a normal HTTP multipart/form-data POST just like a browser would do if you used a HTML form containing a input type=’file’ HTML element.