Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4683

Re: Read data from enctype="multipart/form-data" form

From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Read data from enctype="multipart/form-data" form
Date 2011-05-17 13:14 -0500
Organization Service de news de lacave.net
Message-ID <63e1f9257c6a62814cfbedf9a23be052@ruby-forum.com> (permalink)
References <488bff8c1be56ed2c2ba653589eaa42e@ruby-forum.com>

Show all headers | View raw


Kevin DeValck wrote in post #999235:

> But with enctype="multipart/form-data"  it says that numb is stringio or
> a file. So how can i get that original data that was in it?
>

How would you get the contents of a file?

contents = numb.read

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Read data from enctype="multipart/form-data" form Kevin DeValck <kevin_de_valck@hotmail.com> - 2011-05-17 06:41 -0500
  Re: Read data from enctype="multipart/form-data" form 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-17 13:14 -0500

csiph-web