Displaying 20 results from an estimated 20000 matches similar to: "How to upload file together with other form data?"
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys,
I am trying to pass the parameters for the file being upload, but the
params[] are not being passed. Ive read through some posts and realize
this is an issue with RoR.
I read through some of the posts and someone suggested using:
http://svn.kylemaxwell.com/form_remote_upload/trunk/
I tried to install it, and although I thought I installed it correctly,
it doesn''t work.
2006 Apr 12
3
form_remote_upload
Hey all,
I just upgraded rails to 1.1.2, and form_remote_upload now prevents my
application.rhtml layout from being processed. I''m not sure if the problem
lies with v 1.1.2, or if upgrading the gems screwed stuff up. Anybody have
any ideas?
Rob
--
c++: the power, elegance and simplicity of a hand grenade
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and
file_column playing happily together. According to my research, no
one has done this yet. If you happen to have tried this, and have
some workable code, send me an email. I''d rather not duplicate the
effort.
Thanks!
--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to
javascript security limitations. I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html =>
{:multipart => true}, it will submit via an iframe, allowing you to
upload files. It works nicely with file_column :). Currently, it
only works with RJS templates (no :update option), and I only
2010 Mar 24
3
string problems in R
Hello all
I have been working on my thesis using R. I am a newbie to R and met a problem
that bothered me for a while due to my lack of acquaintance of R.
I am using R to query from SQL. I got a list of crsp_fundno of G-style mutual
funds which is still alive. I use the following codes and got what I want:
library(RODBC)
channel<-odbcConnect("CRSPFUND")
2006 Apr 18
0
Upload a file through an iFrame
Anybody here have any experience uploading a file via a hidden iframe for
that "ajax fresh good feel"? Previously I was using the plugin
form_remote_plugin (http://svn.kylemaxwell.com/form_remote_upload/trunk/)
which was working like a dream until our sys admin updated rails to 1.1.2.
I''ve made a form that can submit the file to an iframe, but now I''m having
trouble
2006 Apr 18
0
iFrame File Upload
Anybody here have any experience uploading a file via a hidden iframe for
that "ajax fresh good feel"? Previously I was using the plugin
form_remote_plugin ( http://svn.kylemaxwell.com/form_remote_upload/trunk/)
which was working like a dream until our sys admin updated rails to 1.1.2.
I''ve made a form that can submit the file to an iframe, but now I''m having
trouble
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running
linux,which can support the most amount of concurrent users as well as
the shortest latency?
1 apache+mongrel
2 apache+mongrel_cluster
3 lighthttpd+mongrel
4 lighthttpd+mongrel_cluster
5 lighthttpd+fastcgi
Thanks
charlie
--
Posted via http://www.ruby-forum.com/.
2008 Jul 10
1
custom http headers in form.submit / upload without original form
Heyas :)
I''m wondering how do I do to send my custom HTTP headers when posting
a form. agent.set_headers is a private method and I don''t know how to
get a reference to HTTPHeaders to use add_field and such.
Since my request is a form, I''m sending it using agent.submit(form). Any hints?
Bonus question: I would like to upload a file to a REST webservice,
but I
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails
form. However I can''t figure out how to add a new field and have it get
submitted with the file upload. I added a name field into the form, but
the valued does not get submitted.
<%
dialog_file_description = ''Photos''
allowed_extensions = [:jpg, :jpeg, :gif, :png]
max_size = 20.megabyte
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
I''m currently new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
2009 Jan 03
2
Bash cgi upload form
Anyone have a function or script for uploading files from a web
browser with a bash script? I know this is possible to do with Perl,
I'm wondering if the same is possible using only bash.
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent,
but it seems quite unsupported now.
What plugins/gems do people use nowadays that would automate
1) targeting form to iframe
2) sending javascript to iframe
3) having the javascript execute another javascript on parent page
Thank you,
Sharkie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2006 Jun 28
2
Ajax - Upload File Upload
hello, i have a problem. I want to upload a file with ajax and the
following tag:
submit_to_remote ''button_save'',''Speichern'',{
:url => {:action => ''ajax_update'', :id => @product},
:update => ''formular''
}
it doesn''t work, my form_tag looks like:
form_remote_tag(:url => {:action =>
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default
behavior ignores the upload when the Javascript serializes the form to
create the parameter list.
Basically, i''m just looking for an ajax file upload capability. Any help
would be appreciated.
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Nov 20
2
html/form newbie: trying to upload a little data to a server
Hello!
I've been trying for several hours to upload a few bits of data (not a
file) from an html form to a server, and none of my variants have worked
thus far. I've done some web searching, too.
Anyway, here's the form:
<form method="POST" action="mmsrequest">
<pre>
UserID: <input type="text" NAME="userid">
Date :
2006 Jan 23
1
Image Upload > Submit with AJAX that replace a div content with the uploaded file. Possible ?
Hello,
I just want to know if it possible to do an image upload with AJAX that
replace a div content with the uploaded file.
Well, with link_to_remote, I know how to do simple AJAX. But with a
submit button, I have no idea.
Someone have an idea ?
2006 Apr 01
5
Upload a zip using a form and extract if afterwards on srv?
Hi all
It like my visitors to be able to upload a zip file (or any other
possible compressed file archive) to my server. After upload, my web app
should extract the content to the server and delete the zip file.
Is this possible somehow? I''m very thankful for help.
Have a nice weekend,
Joshua
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
3
How to create multiple selects with related content?
How to create such a multiple select box:
the first box lists the countries,
the second lists the states related to the country in the first select
automaticly
the third lists the cities related to the state in the second select
automaticly
Thanks
--
Posted via http://www.ruby-forum.com/.