Hey David, I am using Ruby. Thank you for the link though, maybe there is something that I can do that is analogous in Ruby.
>From MACR's own docs it appears they are sending the post as: application/octet-stream. Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name="Filedata"; filename="example.jpg" Content-Type: application/octet-stream ... contents of example.jpg ... --AaB03x-- I am not an expert on File posts so it could be the default way that files are sent in the first place. On 11/16/05, David Rorex <[EMAIL PROTECTED]> wrote: > > For getting the file type, if you are using php, see: > http://us2.php.net/manual/en/function.mime-content-type.php > > -David R > > On 11/16/05, M Daggett <[EMAIL PROTECTED]> wrote: > > I was able to get it working with the url string like you mentioned... > > basically I store the session in the DB and generate a key that will > expire > > after some time. Then the key is appended to the URL. When the url is > posted > > the session is retrieved etc. etc. etc. > > > > One thing that is annoying though is that you can't get the correct > > content_type from the upload. Typically with a file upload you know what > > type of file it is images/jpeg for example. However flash just defaults > to > > application/octecstream. That is really annoying for trying to parse out > > good and bad file types. > > > > Mark > > > > On 11/16/05, Ryan Matsikas <[EMAIL PROTECTED]> wrote: > > > > > > you can't append anything to the "file" data but you can append to the > > > url, > > > and then fetch it in yer upload script.. it will be sent as a GET.. > > > > > > Also note with sessions.. they arent properly created in firefox and > > > safari.. so don't count on that. > > > > > > Cheers, > > > Ryan > > > > > > On 11/15/05, M Daggett <[EMAIL PROTECTED]> wrote: > > > > > > > > Do you know if you can append extra parameters into the FileData? > > > > > > > > For example, I would like to allow users to describe their picture > > > (name, > > > > title) but I don't have anyway to put that into the upload. I guess > if > > > > worse > > > > came to worse I could add it to the URL but that is far from > elegant. > > > > > > > > Additionally, it appears that you have to do the same thing with the > > > > session > > > > id if you would like to maintain state with the appserver. > > > > > > > > Thanks, > > > > Mark > > > > > > > > > > > > On 11/3/05, bryan.rice <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > On Nov 3, 2005, at 9:19 PM, David Rorex wrote: > > > > > > > > > > > Is there a reason you need to change it? > > > > > > > > > > > > > > > No - just curious. Thanx. > > > > > > > > > > blue skies, > > > > > bryan > > > > > _______________________________________________ > > > > > Flashcoders mailing list > > > > > [email protected] > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > > > > > > > > > > > -- > > > > -------------------------------------------------------------------- > > > > I am Mark Daggett and I approve this message. > > > > _______________________________________________ > > > > Flashcoders mailing list > > > > [email protected] > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > [email protected] > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > -- > > -------------------------------------------------------------------- > > I am Mark Daggett and I approve this message. > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

