RE: [flexcoders] FileReference Upload Chunk The File into smaller chunks

2007-01-10 Thread Merrill, Jason
I need to split the file the user wants to upload into smaller chunks.
Is this possible within the confines of the FileReference object?
 
From my experience with the FileReference, no - there are no methods to
do partial binary streams.
 

Jason Merrill 
Bank of America
Learning  Organizational Effectiveness 
  
  
  
  
  



RE: [flexcoders] FileReference Upload Chunk The File into smaller chunks

2007-01-10 Thread Jason Hawryluk
I'm not sure about security implications, but I for one would love to see
some added functionality on the client side for the file reference classes
at least in flex if possible, though I'm sure it would mess up the flash
player more then anything.

A: A handle to the byte array before upload starts.

First thought benefits:
Compression
Possible to send in chunks (multipart upload)
Validation
Upload is not protocol specific (rpc possible [1])
Immediate access to data [2]

B: A binary type shared client object that can accept the file reference
(size = to size of file)

First thought benefits:
If upload is interrupted then restart at the same byte offset possible
Same for download

C: Multiple file download. [3]

[1]Not sure if this is already possible or not as I've been using soap for
file upload.

[2]If the user has committed to an upload why do the round trip in order to
manipulate it.Good for image resizing, manipulation, and any kind of file
pre processing.

[3]If access to the binary data was to be allowed then one could decompress
the file on the fly. The user would not require a decompression program. Or
if data is compressed a user could select particular files to download from
the compressed file. This should be just using a folder dialog, as apposed
to a file dialog.

That said I'm sure Adobe has a particular reasoning behind the decision not
to allow these things. These couple things would just make it more of a
feature rich part of the experience.

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Merrill, Jason
Envoye : mercredi 10 janvier 2007 13:11
A : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] FileReference Upload Chunk The File into smaller
chunks


I need to split the file the user wants to upload into smaller chunks.
Is this possible within the confines of the FileReference object?

From my experience with the FileReference, no - there are no methods to do
partial binary streams.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness