similar to: Multiple file uploads

Displaying 20 results from an estimated 200 matches similar to: "Multiple file uploads"

2005 Sep 14
4
*** saving files ***
Hi, I need help :o( I want that my function saves result files in a for()-loop while it runs automatically. the filenames must be saved like: file_1 -> for 1. result file_2 -> for 2. result file_3 -> for 3. result and . . . file_n -> for n. result the file names are the same identified by _1, _2
2012 Mar 24
1
Append to file in loop
My files are on disk and they are regular text files named file_1 file_2 file_3 file_4 and file_5 with extension .saam The separator is sep='' (ie, white space) I want to append 'XFile' at the end of those files. XFile is also on disk. file.append("file_1.saam", "XFile.saam"); file.append("file_2.saam", "XFile.saam")... works but it
2008 Nov 18
2
sequencially merge multiple files in a folder
Dear all, If the question is too easy, please forgive me since I am only few weeks old in R. I have worked on this question a few days and still cannot figure it out. Here I have a folder with more than 50 tab-delimited files. Each file has a few hundreds of thousands rows/subjects, and the number of columns/variables of each file varies.The 1st row consists of all the variable names. Now I
2012 Jun 26
2
[LLVMdev] Proposed Enhancement to AddressSanitizer: Initialization Order
+llvmdev, -llvm-dev On Tue, Jun 26, 2012 at 2:28 PM, Kostya Serebryany <kcc at google.com> wrote: > Hi Reid, > > On Tue, Jun 26, 2012 at 4:30 AM, Reid Watson <reidw at google.com> wrote: > >> Hello, >> >> I'm starting work on a project to detect initialization order problems >> in C++ files using AddressSanitizer. >> The extension in
2009 Jul 21
0
Accessing list object from within a function as a list element
Hi - I have a list (call it 'mylist') with the following elements: (i) a function (call it 'myfunc' and expressed as 'mylist$myfunc') and (ii) a variable (call it 'myvar' and expressed as 'mylist$myvar'). Since I use mylist as a pseudo-class (I assign mylist to multiple different R objects), I would like to access the mylist R object from within the
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,
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
2003 Nov 14
1
smclient-excludes
Hello, samba-users, I am using Amanda to backup WinNT-shares. Amanda uses smbclient to generate smbtar-archives which it then writes to tape. As you all know there are various files on Windows-system-partitions that don?t need to be on backup. For example stuff like pagefile.sys System Volume Information hiberfil.sys and the registry files. So there is a need to exclude files from getting
2002 Jul 01
0
recursive scp fails on ReliantUNIX 5.43 (using OpenSSH 3.4p1)
Hi, I have tried to make a recursive scp from a ReliantUNIX machine to an other UNIX machine and got an infinite loop on the source machine. A "normal" scp works well. Also strange is, that the first two letters of the directory respectively file name are missing in the output below. The destination machine produces a directory structure with growing subdirectory names. Below you can
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All, Please help me ,I need to look into this issue asap, I need to change the redmine functionality of uploading files to disk to upload them to database. I tried suggestion on http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database but no luck , My form is multipart but still getting the error. Please bare with me I am new to ruby and rails. Here is the like for my
2006 Jun 28
0
Reading email attachments
Is anyone sucessfully reading email attachments? I have had some luck in my local dev environment but only get partial files on my hosted server (TxD) and then only sometimes. I use something like this.... Net::POP3.start("widespreadsolutions.com", nil, "briefcase", "y902xas") do |pop| if pop.mails.empty? logger.info "NO MAIL" else
2007 Apr 17
0
rflickr: invalid auth token when uploading
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I''m working on an application which uses rflickr to upload images to flickr. I''ve generated and cached an auth token as described in the GETTING STARTED document in the rflickr tree. However, when I call the API, I receive an error stating "ERR: Invalid auth token (98)". The extended error is: XMLRPC::FaultException
2010 Aug 12
1
reading fixed width format data with 2 types of lines
Hi, I know how to read fixed width format data with read.fwf, but suddenly I need to read in a large number of old fwf files with 2 types of lines. Lines that begin with "3" in first column carry one set of variables, and lines that begin with "4" carry another set, like this: ? 3A00206546L070049016090045 99 1015002 001001008010004002004007003 001
2007 Aug 30
1
can not encode a raw video file with "encoder_example"
hi all, i tried to encode a .yuv file with the encoder_example.c but it give an error message as follows ./encoder_example -v 1 file_1.yuv > file_1.ogg Input file file_1.yuv is neither a WAV nor YUV4MPEG2 file. so the error message is understandable for anyone. when this file is play with mplayer it shows as follow
2006 Jun 11
0
Application construction issue (conceptual)
I was wondering if someone can give me some assistance in approaching this issue: First, the background: I have an app that i originally did in PHP that I''m redoing in Rails. It can be used by multiple clients that have no relation to each other. The client information is in a database and is determined by the hostname. Clients then have several users related by client_id. The
2006 Apr 18
6
Help with Forms
Hello, Ive been trying to sort out this problem for a couple of days now. Here''s my problem: Im builing an ajax form that has a repetitive sequence of similar form elements (tracking_id). <%= text_field "asset", "tracking_id", "index" => i, "class" => "case" %> <%= text_field "asset", "tracking_id",
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code is based on the acts_as_taggable gem,anybody has done that using the acts_as_taggable plugin?thanks! btw:the code above uses the tag_count method,which is defined in the gem: def tags_count(options = {}) options = {:order => ''count DESC''}.merge(options)
2008 Jan 18
2
NameError when using alias_method -- but method exists?
Hello Rubyists, I am a bit stumped here. I want to extend the ''load_file'' method in the YAML module. Following along with the PickAxe example of making old methods do new things, I try this in irb: >> module YAML >> alias_method :orig_load_f, :load_file >> def load_file(*args) >> contents = orig_load_f(*args) >>
2006 Jan 18
22
Creating multiple child objects from the same form
I''ve been digging into rails, but this one question has been a two day stumper. I''ve got a question/answer model that I''m trying to work out. Each question has multiple answers (they''re more like choices, it doesn''t matter whether they''re right or wrong), and I''d like to have the question creation form also have multiple fields in
2007 Mar 18
2
mongrel timing out
I am not sure when it exactly occurred but I have 2 servers I am about to migrate to apache+mongrel from lighty+fastcgi oddly, both my servers seemed to have died at the same time everytime I restart within a 24 hr period ( I don''t know when, my logs don''t show it ). Can someone please point me in the direction of what I need to do to trace the cause of this. Or what you would