Re: File Upload

2006-12-08 Thread Jerry Kassebaum
Bill and all, I think I'm getting closer. But when I upload a file I get the error: "CGI open of tmpfile: Permission denied". Now what? Jerry From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: Jerry Kassebaum <[EMAIL PROTECTED]> Subject: Re: File Upload

RE: File Upload

2006-12-04 Thread Webb, Andy
um Sent: Monday, December 04, 2006 8:05 AM To: perl-win32-users@listserv.ActiveState.com Subject: Re: File Upload >Can u restate the question? Sure. Take a look at http://biblescramble.com/dns/textArea04.cgi. If a visitor enters text in the top text box and hits "submit query", the

RE: File Upload

2006-12-04 Thread Webb, Andy
No idea what happened to my brain here. This was supposed to be a response to the File Upload thread. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Webb, Andy Sent: Sunday, December 03, 2006 7:20 PM To: perl-win32-users@listserv.ActiveState.com Subject

Re: File Upload

2006-12-04 Thread Jerry Kassebaum
>Can u restate the question? Sure. Take a look at http://biblescramble.com/dns/textArea04.cgi. If a visitor enters text in the top text box and hits "submit query", the next page returns what was typed in . I'd also like the visitor to be able to send in a text file from his hard drive and ha

Re: File Upload

2006-12-03 Thread Chris Wagner
Can u restate the question? -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 0100 ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman

Re: File Upload

2006-12-03 Thread $Bill Luebkert
Jerry Kassebaum wrote: > Friends, > > The cgi below is at http://biblescramble.com/dns/textArea04.cgi. > > If you type lines in the text box, it spits them back when you hit "Submit > Query". > > However, I also want it to spit back a text file. What am I missing? If you want to spit back a t

File Upload

2006-12-03 Thread Jerry Kassebaum
Friends, The cgi below is at http://biblescramble.com/dns/textArea04.cgi. If you type lines in the text box, it spits them back when you hit "Submit Query". However, I also want it to spit back a text file. What am I missing? Thanks! Jerry ## #!/usr//bin/perl -T #use strict; use C

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
I'm an idiot. I set the form to the correct encoding, using a type attribute, not enctype. Deary me time for a holiday. Thanks for you help! lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Everything is fine with my file upload, except $cgi_pm_instance->upload($upload_form_field_name) always returns a string and never a file handle. If no-one knows about this, I'll get in touch with the CGI pm chap. TIA lee ___ Perl-Win

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Thanks for the example Seems to suggest that my code was okay, because I get a related error when running your code: Can't use an undefined value as a symbol reference at ... the lines while($bytesread = read($fh, $buffer, 1024)) { print $buffer;

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
> # # would it be faster to do an 's/\//\\/g' to replace all '/' with '\' > # # and then just get the index of the final '\'? Don't know... > # # it would make the code cleaner, but it may be less efficient... > my $posreg = rindex($in_file_name, "/"); > my $posback = rindex($in_file_n

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
At 15:58 05/03/2002 -0500, Morse, Richard E. wrote: >H some of this doesn't look right. > >For instance, point 5 -- $file in this case should be the filehandle, >which may >also be the text of the parameter, but I'm not positive on that -- if you want >the value of the file, try $self->{c

File upload error

2001-12-21 Thread Alexei Danchenkov
Hello, All, This might be a bit offtopic, but while uploading a file to a server, all zeros (0x0) are replaced with spaces (0x20). What is wrong with the following code then or what's wrong with the server configuration? I am using HTML::Mason with Apache server 1.3.22 under RedHat Linux 6.2 When

large file upload solution

2001-06-13 Thread Greg Merritt
Ok, I got it. Turns out you don't need to mess with the metabase for this one (luckily). 1.) In the Internet Services Manager Snap in, right click on your computername and select properties 2.) Select 'Edit' to edit the master properties. 3.) On the home directory tab, select 'configuration' 4.)

RE: large file upload

2001-06-08 Thread Morgan, Steve H.
time to research any further. -Original Message- From: Greg Merritt [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 9:48 AM To: [EMAIL PROTECTED] Subject: Re: large file upload I'm going to guess that I'll have to do a similiar thing, but on the server side with I

Re: setting permissions on file upload

2000-12-22 Thread Carl Jolley
On Thu, 21 Dec 2000, byron wise wrote: > I have a script that uploads a file from a browser. I'm not getting the > permissions on this that I want. how can I change them at time of upload? > > sub upload_file > { > my $temp_dirpath = shift @_; > my $buffer = ''; >

RE: File upload(FORM) question

2000-10-30 Thread Paul Rogers [CE]
Personally, I would break it up into two steps. Step one would be for the user to enter the data info. Then step two would be to upload the file. I think this simplifies the process and allows you to only have to worry about one thing at a time. p --- _