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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news.musoftware.de!wum.musoftware.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail
From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Read data from enctype="multipart/form-data" form
Date Tue, 17 May 2011 13:14:53 -0500
Organization Service de news de lacave.net
Lines 13
Message-ID <63e1f9257c6a62814cfbedf9a23be052@ruby-forum.com> (permalink)
References <488bff8c1be56ed2c2ba653589eaa42e@ruby-forum.com>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace talisker.lacave.net 1305656117 23933 65.111.164.187 (17 May 2011 18:15:17 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Tue, 17 May 2011 18:15:17 +0000 (UTC)
In-Reply-To <488bff8c1be56ed2c2ba653589eaa42e@ruby-forum.com>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 383393
X-Ml-Name ruby-talk
X-Rubymirror Yes
X-Ruby-Talk <63e1f9257c6a62814cfbedf9a23be052@ruby-forum.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:4683

Show key headers only | 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