Re: File Upload problems

2000-12-29 Thread Alexander Farber (EED)
cbell wrote: Everytime I try to upload a file, the browser will stall a couple of times, and the file ends up on the server as a zero byte file. How about: # Upload Procedure my $buffer; my $inputfile = upload ('uploaded_file'); open

Re: File Upload problems

2000-12-29 Thread cbell
I think that was it!!! I wasn't closing the file after uploading it, thanks alot "Alexander Farber (EED)" wrote: cbell wrote: Everytime I try to upload a file, the browser will stall a couple of times, and the file ends up on the server as a zero byte file. How about:

File Upload problems

2000-12-28 Thread cbell
Hello everyone, I was hoping someone could give me a hand with file uploads in mod perl. Everytime I try to upload a file, the browser will stall a couple of times, and the file ends up on the server as a zero byte file. I'm pretty sure this is a binmode problem, and I've tried it a bunch of

Re: File Upload problems

2000-12-28 Thread G.W. Haywood
Hi there, On Thu, 28 Dec 2000, cbell wrote: I'm pretty sure this is a binmode problem, Did I miss the bit where you told us which operating system, Perl version, and all that good stuff? If you search around in the mod_perl directory you should find a file called SUPPORT. :) 73, Ged.

Re: File Upload problems

2000-12-28 Thread cbell
It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. "G.W. Haywood" wrote: Hi there, On Thu, 28 Dec 2000, cbell wrote: I'm pretty sure this is a binmode problem, Did I miss the bit where you told us which operating system, Perl version, and all that good

Re: File Upload problems

2000-12-28 Thread G.W. Haywood
Hi there, On Thu, 28 Dec 2000, cbell wrote: It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. Hmmm. Do you need to use binmode() at all? If you didn't, then you probably wouldn't get any binmode problems... perldoc -f binmode 73, Ged.

Re: File Upload problems

2000-12-28 Thread cbell
I tried it with and without binmode with the same results, thats why I figured I was using binmode wrong. "G.W. Haywood" wrote: Hi there, On Thu, 28 Dec 2000, cbell wrote: It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. Hmmm. Do you need to use