Re: [RESEND] Empty file uploads

2005-03-22 Thread Robert Norris
All, > > P.S. What version of CGI.pm do you have? > > 2.752. On Gerald's advice, I upgraded CGI.pm to the latest version on CPAN (3.07). This appears to have fixed the problem, though I'm not sure why. Anyway, its in the archive now, so if anyone sees this problem in the future, this might help

Re: [RESEND] Empty file uploads

2005-03-20 Thread Robert Norris
On Fri, Mar 18, 2005 at 03:01:10PM +0100, Gerald Richter wrote: > While the browser seems to send the file, it does not seem to encode it > correctly, otherwise we should see something in -file. I added code to dump $rec_req->content to a file so I could check it. The file appears to be intact. Ev

RE: [RESEND] Empty file uploads

2005-03-18 Thread Gerald Richter
> > When it fails, I get this instead: > > > $VAR1 = { > '-file' => undef, > 'file' => bless( \*{'Fh::fh1somefile.txt'}, 'Fh' ) > }; > > > It seems that the browser is at least doing the right thing, > because the CONTENT_LENGTH and CONTENT_TYPE environment >

[RESEND] Empty file uploads

2005-03-16 Thread Robert Norris
[Resending, because I need guidance. I realise that file uploads are working fine for most people, so I'm not expecting an answer, but I'm hopeful that someone can tell me where to start looking.] I've noticed that file uploads don't seem to always work. The uploaded file app

Re: Empty file uploads

2005-03-06 Thread Robert Norris
On Thu, Mar 03, 2005 at 07:51:22AM +0100, Gerald Richter wrote: > Please try to use the code Daniel posted instead of yours. Similars code > works for me for years now without problems As I said in a previous email, I tested this and it doesn't work most of the time. Rob. signature.asc Descript

RE: Empty file uploads

2005-03-03 Thread Gerald Richter
> > Note the filename - its the same as the one I was using for > my upload tests as described in my previous email. I must > stress that this piece of code is entirely unrelated - it > isn't even a form. However, it is running under the same set > of Embperl objects that build the site, and i

Re: Empty file uploads

2005-03-02 Thread Robert Norris
> Anyone seeing this? Where should be looking to find the solution? Just FYI, while working on something else within the same Embperl::Object tree today, I screwed up some code, so it failed to compile. I got this in the Apache error log: [Thu Mar 03 14:24:00 2005] [error] [2743]ERR: 24: Error

Re: Empty file uploads

2005-02-28 Thread Daniel
haps you could try this method instead? db On Tue, Mar 01, 2005 at 10:53:46AM +1100, Robert Norris wrote: > I've noticed that file uploads don't seem to always work. The uploaded > file appears to come through empty most of the time. Usually it works > after restarting the brow

Re: Empty file uploads

2005-02-28 Thread Robert Norris
On Mon, Feb 28, 2005 at 07:04:43PM -0500, Daniel wrote: > I don't seem to have any problems with this. Perhaps you could try this > method instead? Saving a temporary file doesn't suit my application, but I did test this just to see what would happen. Same problem. BTW, I didn't mention that I'm

Empty file uploads

2005-02-28 Thread Robert Norris
I've noticed that file uploads don't seem to always work. The uploaded file appears to come through empty most of the time. Usually it works after restarting the browser, or the server, but not after that. If I'm lucky, one request will go through, but thats pretty rare, and there

Re: file uploads

2000-11-16 Thread Neeme Vool
I had some problems with file uploads recently. For resolving I had to be more permissive for IE. Seems like IE gives somehow different filehandle to server. Second thing to check is that on Windows platform backslash in filenames brokes filehandle processing. I got file uploads to work with

Re: file uploads

2000-11-16 Thread Gerald Richter
> > > > I have a problem and I cannot find it in the mailing lists. > > Please post questions to the mailing list directly. I have forwarded your question to the list, because I haven't used file uploads for some time myself. > > I try do do a file upload usi

Fw: file uploads

2000-11-15 Thread Gerald Richter
- Original Message - From: "Hans de Groot" <[EMAIL PROTECTED]> To: "Gerald Richter" <[EMAIL PROTECTED]> Sent: Wednesday, November 15, 2000 5:40 PM Subject: file uploads > Hi Gerlald, > > I have a problem and I cannot find it in the mailing lists

RE: File Uploads / Mime Types

2000-04-26 Thread Wim Kerkhoff
$mime_type = uploadInfo($file)->{'Content-Type'}; >> >> Is there a way of doing this with Embperl? > >>From the docs: > > Content-Type: [+ $fdat{-ImageName} -> {'Content-Type'} +] > file uploads are the only thing that Embperl uses CGI.pm.

RE: File Uploads / Mime Types

2000-04-26 Thread Gerald Richter
> feasible to > upload 400MB movie clips or such through Embperl to a database? > Or what the > webserver run out of memory and die miserably? > file uploads are the only thing that Embperl uses CGI.pm. CGI.pm reads the data in small chunks and writes it to disk, so there is n

File Uploads / Mime Types

2000-04-26 Thread Wim Kerkhoff
Hey everyone, I'm working on serveral Embperl scripts that insert and retrive Binary Large Objects (BLOBs) into/from an Oracle database using DBI. I'm currently getting the object (in this case an image) with code like this: my $buffer; my $data; ($data .= $buffer) while read ($fdat{image}, $bu