similar to: default upload directory?

Displaying 20 results from an estimated 300000 matches similar to: "default upload directory?"

2006 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have installed lighttpd following the instruction on the rails wiki. everything seems to work fine except the file upload page. It doesn''t throw any errors, it just doesn''t seem to write the image to disk. Nothing is printed to the lighttpd error log when the file upload fails. I thought it might be my code
2008 Apr 14
2
interesting find: multiple file uploads stopped on Linux
Hi, I came across something very interesting. I use attachment_fu for file uploads and mongrel_cluster for scalability. Together they should allow me to perform multiple (concurrent) file uploads. This does work with uploads started on Windows, but on Linux something strange happens: the upload started on Linux hangs. So, if you start an upload from a Linux machine, and then start an upload from
2007 Aug 14
0
Temporary files / Uploads
Hi, how can I influence, where mongrel stores temporary files like uploads. As far as I can see, int honours the TMP or TEMP environment. Can I also set it in the configuration file for mongrel? I have not found something about it in the docs. Another thing: When I upload a file, the file is stored 3-4 times: In the TMP by mongrel as mongrel.3400.0 and then as CGI.3400.0 I currently
2003 Mar 12
0
can't delete older file/directory links on another local partition after `snapshot' type backup script
Thanks for looking at this, and developing rsync. Really useful program that I rely on. Bit of a newbie but I couldn't find anything on this in these archives. Hopefully it's a really stupid question! I'm trying to backup using cp -al and then rsync -auR --delete backup idea basically as per http://www.mikerubel.org/computers/rsync_snapshots/#Incremental. I have a separate
2006 Aug 01
3
Upload file to file system and sql insert date errors
I''m trying to use one form to upload a file to the file system and insert a title and description field into the database. I have no problem uploading files to the file system using the code from http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles There are more fields on the form than need to be inserted into the database, name and file. I need to pull out these extra fields
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the Rails Recipes example), but I find that it only works with the webrick server and not my lighttpd 1.4.11 server. I''m running Rails 1.1.2 on OSX. The upload silently fails with both firefox and Safari, even with the useragent hack and with any size of file/image. My lighttpd config is pretty standard as
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''
2019 Apr 30
6
Disk space and RAM requirements in docs
Hi, Have anybody recently built LLVM in Debug mode /within/ space requirements from the Getting Started doc? https://llvm.org/docs/GettingStarted.html#hardware > An LLVM-only build will need about 1-3 GB of space. A full build of LLVM and Clang will need around 15-20 GB of disk space. From my experience this numbers looks drastically low. On FreeBSD my recent builds consumed more than
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows) that will have has_and_belongs_to_many relationships with the pictures table. CREATE TABLE screenshots ( id serial NOT NULL, filename character varying NOT NULL, content_type character varying NOT NULL, primary key (id) ); CREATE TABLE films ( id serial NOT NULL, name character varying NOT NULL,
2011 Jul 29
0
Speeding up Windows upload script
Hi Alon, further to the discussion on IRC ... I would try a script like the one below. Highlights: * It avoids using the '-i' option, because that can be slow. The down side is that you have to specify which partition contains the C: drive because that information is no longer available from inspection. * We only use guestfish once, so you don't have to repeatedly start up
2006 Dec 03
1
File Upload Unix Only?
I tried the upload feature in merb 0.0.7 using http://localhost:4000/files I get the following: Permission denied - D:/Temp/Merb.5172.0 or E:/Dev/Ruby/merb-0.0.7/examples/sample_app/dist/public/files/foobar.jpg - (Errno::EACCES) C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `rename'' C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `mv'' C:/Ruby/lib/ruby/1.8/fileutils.rb:1379:in
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2003 Aug 03
2
How to control TEMP directory
This is a slight rework of my last question but should be clearer. My samba installation appears to be trying to use /root/tmp as its temp directory. This is useless as when logged in as a user the system has no access to the temp directory and so nothing works. How do I pursaude Samba to use /tmp as the temp dir. I am running Samba 3 on a Mandrake system. Thanks
2006 Jun 01
3
file_column - blank folder created, no upload
i want to upload and resize images so i installed the file_column plugin but im having a big trouble, i have a table images with (id, name) fields where the images names/path will be stored, i get a success message(from the controller after @art_image.save) every time i try to upload but only a blank directory its created /public/image/name/tmp , without errors messages, i see a post related
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi. I have a simple application and I want to add a file upload functionality. How can I write a spec? Here''s my try. # directory structure app: - controller.rb - controller.spec.rb - files: [] - fixtures: [test_file.png] # controller.spec.rb require ''rack/test'' require ''controller'' module MyHelpers def app Sinatra::Application end end
2012 Dec 10
1
Problem/Bug when syncing subdirectory structures with delay-updates and partial-dir
Hello there, recently stumbled over a problem syncing subdirectory structures in combination with partial-dir. Files are saved within partial-dir, but without the subdirectory path they came from, so having the same file names within different subdirectories causes them to be overwritten (and/or lost, of course). Currently I'm using rsync 3.0.9 protocol version 30 in Linux
2006 Apr 24
1
Upload Progress Bar not showing
Hi. I''m setting up an upload form for internal users of a Rails site, and I''m trying to use the Upload Progress Bar plugin from http://sean.treadway.info/demo/upload/. I followed the directions as set out in the Rails Wiki (http://wiki.rubyonrails.org/rails/pages/Upload+Progress+Bar). Basically the problem is no progress bar or any upload information shows up. In WEBrick, I
2013 Feb 22
1
[Bug 9670] New: missing substructure within partial-dir causes files to be lost or overwritten
https://bugzilla.samba.org/show_bug.cgi?id=9670 Summary: missing substructure within partial-dir causes files to be lost or overwritten Product: rsync Version: 3.0.9 Platform: All OS/Version: All Status: NEW Severity: major Priority: P5 Component: core AssignedTo: wayned at
2006 Jul 28
1
How do I get an original file name from an upload using file_field?
I am uploading a .csv file for importing into a database; however, this file does not need to be saved on the server. How do I get the file name of the original file? I know about the file_column plugin but I don''t need/want to save the uploaded file on the server, I just need to import it and delete it. Right now the file name get returned as some random temp file name... there has to be
2006 Jul 30
3
Where to store filesystem path?
Hello, My app needs to know where to store files but the path is different for dev and production. What is the best way to do it? - something like $path = ''/home/myrailsapp/public/files/'' in development.rb and $path = ''/home/my_remote_prod_sapp/public/files/'' in production.rb? - do a test to check the env and add the path in application.rb? - do a test to