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


Groups > comp.lang.ruby > #6601

Re: Encoding a multipart/form-data for posting via HTTP

From pavankanth.m@gmail.com
Newsgroups comp.lang.ruby
Subject Re: Encoding a multipart/form-data for posting via HTTP
Date 2012-08-22 14:26 -0700
Organization http://groups.google.com
Message-ID <c37ce64e-bfd6-485b-943d-759d30e0bde1@googlegroups.com> (permalink)
References <1110438895.032935.99640@o13g2000cwo.googlegroups.com>

Show all headers | View raw


Hi Dema -

Can you post the snippet of code in which you have used the above encoding logic? 

I am writing a web application that needs to take a file upload from the user and upload it to a remote server. I can take input from user to server fine via file_field, but can't seem to work out the next step of uploading from server to remote

I am able to use HTTP:GET and download files from remote server and write to local disk, but not able to accomplish the opposite (local disk to remote server)


Thanks in advance.
Pavan

Back to comp.lang.ruby | Previous | Next | Find similar


Thread

Re: Encoding a multipart/form-data for posting via HTTP pavankanth.m@gmail.com - 2012-08-22 14:26 -0700

csiph-web