Displaying 20 results from an estimated 200000 matches similar to: "Uploading Files"
2006 Jul 17
1
Uploading data
Hi everybody,
I''m new with Ruby on Rails and would like to know how to upload data
into my database from a batch file. I want users to specify a path to
their batch file and then upload from a path box. Does anybody know how
to do this?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 17
6
taking input
Hi everybody, I''m pretty new with Ruby on Rails and I was hoping someone
could help me out. I''m trying to take in data from a file and add it to
my existing database. what I''m thinking is that I have to create a
class that reads the data and copies it. I''m not sure how I will input
the data into my database. I''m not sure if this approach is the
2006 Jul 20
3
Newbie question-----Downloading a file and sending it to DB
Hi everyone,
I''m new with RoR and I''m working on a project that uploads information
(keys-values) from a file into a database. Here is the situation:
Somewhere in this file there is a strin-table such as the following:
"hello" = "hello world"
"sayHIgh" = "Saying hello to the world"
I have parsed the files with a ruby script in such a
2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so:
class Parser
table = { }
IO.foreach(''Localizable.strings'') { |line|
if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x
table[ $1 ] = $2
end
}
end
I want to store the key-values in different colums on my database so
that when I enter a key, it gives me the corresponding value...how
2006 May 05
1
Uploading files > 10mb using InstantRails 1.0 configuration.
Hi,
I''m using InstantRails 1.0 (rails 1.0 and ruby 1.8.4). When I try to upload
a video file ~11MB, IE just hangs on me. Seems like WEBrick hangs too and I
can''t connect from another IE. I end up manually killing WEBrick. Would
anybody know the problem here? I had to increase my mysql max_packet_size
parameter in order to upload in the first place so mysql doesn''t
2006 Jul 25
1
newbie--how do i load a parsed file?
Hello there,
I''m new with ruby on rails and i don''t know how to load up a parsed file
into my database. I have my ruby script that parses it but don''t know
where to put my code, or how to combine it with view/model/controller.
this is what i have:
class Description < ActiveRecord::Base
def import_strings(a_file)
table = { }
2006 Jul 24
2
Newbie error message!
hello you all,
I''m new with Ruby on Rails. I''m developing an application. I got the
follwoign erro, can anybody give a hand?
ArgumentError in AdminController#import_strings
wrong number of arguments (0 for 1)
RAILS_ROOT: ./script/../config/..
Request
Parameters: {"commit"=>"Import",
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all,
When Trying to upload 2GB of stream i got invalid content length
error
am running Apache as frontend server to mongrel and chrome as my
browser.
One more thing one i do it with mongrel alone am able to upload this 2
GB of stream ,cud anybody tell me whats the problem and how do i
configure content length in apache??
--
Posted via http://www.ruby-forum.com/.
--
You received this
2003 Oct 13
1
Uploading Printer Driver Files
Hi,
I'm close to succeeding in uploading new drivers but it just won't
work. I'm running v2.2.1a on a sun box and w2k on the client.
- In my conf file, I've defined a print$ share, an entry in printcap
and put in a definition of the printer.
- I've also added my own user name to the printer admin list
- I've created the directory that print$ points to, created W32X86
2009 May 18
1
simple ogg video joiner GUI for windows
hi all,
i have written a detailed explanation below bu in short, we need a simple free gui for windows to join several ogg files end by end to make one ogg file out of it for an art project. you can see more explanation below...
i am working on an art projects with some art students called "readymade dictionary of the author: a copyleft crowdsourcing free/open source project" where
2004 Sep 08
1
locked files in smbstatus
hello,
can anybody explain or point me to a document that explain the locked files
section produced by smbstatus -L (see below).
what means denymode ? access ? what means exclusive+batch in the oplock
section ?
can anybody point me to a document explaining the way file locking works ?
regards
# smbstatus -L
Locked files:
Pid DenyMode Access R/W Oplock Name
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody,
I have some troubles with uploading files in my Rails project.
I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on
apache
I was investigating and have isolated the strange behaviour on a
simple empty project:
view:
<% form_tag({:action => ''upload''}, :multipart => true) do %>
<%=text_field_tag :desc %>
2006 Apr 11
2
Uploading files using a web service
i am writting a web service that will enable users to upload image
files...but then the problem is...i will have to use Soap4R, now my
question is....the API generated(or whatever you call it, wsdl file that
i get) will support standard SOAP implementation??...so i can use
Mono.NET to call this web service and upload files.
I ask this because as per my knowledge SOAP4R is different...so will
2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
Hi everybody,
Ruby on Rails is my first programming lenguage...it looks to me like i''m
missing the big picture. I''m trying to upload a file into a database.
In my app. my user needs to select a file and upload it...however I only
want him to upload certain information from that file. I have written
code to parse only string tables from that file. For example, the table
2008 Feb 02
1
attachment_fu stopped uploading files to S3
Hey everyone,
I''ve been using attachment_fu to upload large media files to S3 with
great success in my rails application. However, it has recently
stopped uploading.
My app appears to be uploading to somewhere, as my browser is
displaying a ''sending request to..." status message for about the
right length of time. The records are also created in my application
database.
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the
server occasionally. I recently switched my development machine from a
Linux box to OS X 10.5, using the Apache server built-in on OS X and
mod_fcgid. I thought everything was fine until I recently tried to use
the file upload feature. If I specify a reasonable sized (164 Kb) file
for upload then I get an immediate error, before my
2010 Jul 12
2
Correct permissions for uploading files
I am trying to implement PHP upload functionality for an application.
When I attempt an upload in my test environment, I get the following error:
An error has occurred: receiving directory insufficient permission...
The upload form is reloading
The destination file being moved by move_uploaded_file is
/home/httpd//test/upload/uploads/1278898550-_DSC1159.jpg
The initial file name is suppose
2006 May 17
2
Problem uploading files
Hi everyone,
I''m having trouble uploading some files. I''ve set up a simple action whose
view looks like:
<%= start_form_tag({:action => ''handle_file_test''}, {:multipart => true}) %>
<label for="file">File to Upload</label> <%= file_field_tag "file" %>
<%= submit_tag %>
<%= end_form_tag %>
2006 Mar 22
3
Problems with validates_presence_of...anybody?
Hello everybody,
I have been developing small applications in Rails from quite some time.
But lately, I came across a bug which I have not been able to correct.
If anybody could help me with it, would be of great help thankyou.
Actually, the problem is that I have a form in my application with some
set of fields.
Now what "validates_presence_of" should do is that if I submit the form
2006 Jun 09
1
"illegal access mode w" Error when uploading files
Hi
I am trying the sample code in Rails Recipes book; when I try to upload
a picture I get this message; any ideas?
thanks
--
Posted via http://www.ruby-forum.com/.