Bill Walton | 18 Jul 20:18

Re: File upload and doc type


Hi Pål,

Pål Bergström wrote:
> I've made a file upload for word-files. It works fine.
> I also have a send_file for getting it from the server.
> But there must be something wrong with the file upload.
> When downloading it I can't open the file. The same if
> I fetch it via ftp, so it must be something about the upload
> and doc type. Any ideas?

I assume you're talking about MS-Word?  If so, are treating them as binary?
IIRC, you have to.

HTH,
Bill

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane