Displaying 20 results from an estimated 10000 matches similar to: "How to Set Max File Size for Upload?"
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size.
Following the wiki here:
http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles ,
I got past the first mysql 500kb limitation with the max_allowed_packet = xM
trick, setting it to 1000M.
However, as the person at the very bottom of the wiki notes, I too cannot
upload more than around 10mb.
I also tried the suggested
2008 Jul 30
0
Halt file upload if maximum size is reached. Is that possible?
Hi guys.
I''m building a rapidshare-like app, and as such each user has a disk
quota. It''s possible to prevent a file save if it exceeds the free
space, but I searched for an way to do the same _during_ the file
upload. Using flash it''s apparently possible, but I don''t want to use
flash.
One way to do it is via Apache configuration.
But, is there any other way
2006 Jul 21
4
max upload file size
Can any one tell me if Rails has a max file size upload limit? and if so
what is it and can I change it?
Cheers.
--
Posted via http://www.ruby-forum.com/.
2005 Mar 02
2
.ps and .pdf page size differences in FC vs. Debian
R version: 2.0.0
OS: Fedora Core 1
When I'm using Fedora Core 1, Rplots.ps (and subsequent Rplots.pdf
created after using ps2pdf Rplots.ps) which are created from the command
line execution of R are too large to fit on a US Letter sized page when
printed. The same code will produce a US letter sized page when I'm on
my Debian Sid box. Both boxes are connected to the same shared
2007 Mar 24
0
max upload size!
As suggested in "max upload size?"
http://www.mail-archive.com/mongrel-users at rubyforge.org/msg02325.html
I created a plugin that disconnects (raises an error which
terminates the socket) if the specified content-length is higher
than 200 MB (by default).
I don''t know the behaviour if the specified content length is
different than the actual uploaded data or if no
2006 Dec 07
0
compression + max file size upload liimit?
I am using Mongrel Cluster with Apache 2.2.3 + mod_proxy_balancer and
would like to enable compression (assuming it improves throughtput)
and limit file size upload. I configured mod_deflate and
LimitRequestSize in Apache, but in my trials looks like the proxied
calls bypass those directives (the conf goes below).
Is there a way to get this?
-- fxn
NameVirtualHost *:80
# Configure the
2007 Feb 06
0
Question about file upload max size
Hi,
We use merb for our file upload server. Everything is ok except file
upload size limit, we want to cancel file upload process immediately once we
learn that the size of upload files has exceed the max size limit.
First, we try to hack MerbUploadHandler#request_begins(here, we can get
CONTENT_LENGTH), but get trouble to cancel the upload process elegantly.
Currently, we have no
2006 May 04
7
windows / migration issues
Running latest rails, etc on windows xp.
I can''t use "rake migrate" to migrate to latest version. I NEED to
specify, i.e. "rake migrate VERSION=11" for things to work
consistently.
plain ''ol "rake migrate" never makes it to the latest version. no
errors, she just stops short of the latest version.
hasn''t been a problem until now --
2013 Jun 26
3
XYZ data
I have x, y, z data. The x, y fields dont change but Z does. How do I add a
very small number onto the end of each x, y data point.
For example:
Original (X) Original (Y) Original (Z)
15 20 30
15 20 40
New (X) New (Y)
2005 Feb 27
1
subsetting data set dimenion problem
(See DAAG book, p. 173, ex. 3)
I'm a new user of R, and I'm following the DAAG text. I want to create a
subset of the races2000 data frame, but get errors because of a mismatch
of values in some columns:
> library(DAAG)
> attach(races2000)
> hills2000 <- races2000[races2000$type == 'hill']
Error in as.matrix.data.frame(x) : dim<- : dims [product 770] do not
2011 Dec 11
2
ToDo List Notation
I just joined this mail-list, so I apologize if this has been discussed
before, but:
Has anyone suggested adding a "todo list notation" to Markdown?
Specifically, I'd like to see an open paren, brace or bracket, at the start
of a line, followed by a space, a "/", or a "X", followed by a matching
closing paren, brace, or bracket, followed by a space and more text
2006 Mar 01
2
GXP-2000 Volume Issue
Is anyone else having an issue with GXP-2000s and transmit gain? All my
other phones are fine on my TDM400P with txgain set at 0, but the GXP-2000
caps at about a third of the scale in ztmonitor. I'm getting people
complaining they can't hear me on my GXP-2000s, whereas my Snom 320 and
Polycom 301 are great, and my Budgetones are overmodulating. Is there any
conceivable fix on the
2004 Jun 16
3
Aggregating on Water Year Rather Than Calendar Year
The US water year extends from 01 October yyyy-1 through 30 September yyyy
and is referenced by the year starting on the included 01 January yyyy.
I'd like to be able to find the annual means for the water year. To do so
I've taken the input date-time, which is in the usual format
"1991-10-07 10:35:00"
changed it by:
w$d<-as.POSIXct(w$date.time)
Now I can add an
2010 Oct 15
1
Dealing with Non-Standard Hours
A data set I obtained has the hours running from 01 through 24
rather than the conventional 00 through 23. My favorite, strptime,
balks at hour 24.
I thought it would be easy to correct but it must be too late on
Friday for my brain and caffeine isn't helping.
TIA for a hint,
Clint
--
Clint Bowman INTERNET: clint at ecy.wa.gov
Air Quality Modeler INTERNET: clint at math.utah.edu
2015 Jan 11
2
Link-dest thinks file is newly created, but it isn't
On Sat Jan 10 2015 at 5:21:33 AM Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What does --itemize-changes say about that file? Try using the stat
> command on the various copies of it to see what is different about them.
>
In my original message, I stated I used --itemize-changes, and I reported
the following:
>
2015 Oct 28
2
Disabling "quick check"
Ok, thank you for this extra info. I have experienced exactly what you
described. The rsync dry run is _still_ running after being started at
1:30am PST :)
But it is finding the right files to update. Most of the entries are:
>fc........
Which is what I want.
So, just because I see:
>f
at the beginning...
That doesn't necessarily mean that the file is going to get updated at the
2015 Jan 10
2
Link-dest thinks file is newly created, but it isn't
Hi:
I've been using rsync for a couple years now. Unfortunately, I've made some
changes on both ends, so it's unclear what could be the culprit. I make
extensive use of --link-dest to provide a cheap "Time Machine"-like backup
for a Windows machine.
Source: Windows 7 running Cygwin (CYGWIN_NT-6.1 sith 1.7.33-2(0.280/5/3)
2014-11-13 15:47 x86_64 Cygwin)
Destination: Synology
2015 Oct 28
2
Disabling "quick check"
What about -c? It seems I'm getting a lot of spurious file transfer
candidates when using:
-avvznIi --no-o --no-g --no-p
It's showing transfers (receive) for many files I know haven't been
tampered with.
Thanks,
-Clint
On Tue, Oct 27, 2015 at 7:53 PM, Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> That is correct.
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2006 Mar 09
5
link_to_remote id or class
Can anyone out there tell me how to add a class or id property to a
link using link_to_remote? I''ve been banging my head on this for far
too long.
Thanks
Clint