Re: Uploading files

2003-08-03 Thread K. Parker
Thanks, I found what I needed. I used the upload() function but failed to save it, so the error wasn't a matter of not having uploaded right, it was about correctly saving the uploaded file to the server. I'm getting to learn the value of docs. :-) Thanks again, K. Parker "Mark Stosberg" <[EMAIL

Re: Uploading files

2003-08-02 Thread Mark Stosberg
In article <[EMAIL PROTECTED]>, Li Ngok Lam wrote: > > - Original Message - > From: "K. Parker" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, August 02, 2003 12:00 PM > Subject: Uploading files > > >> On a site I'm developing, I'm trying to create a script that uploads

Re: Uploading files

2003-08-02 Thread Li Ngok Lam
- Original Message - From: "K. Parker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 02, 2003 12:00 PM Subject: Uploading files > On a site I'm developing, I'm trying to create a script that uploads > encrypted files and saves them in a particular directory. You wi

Re: uploading files

2003-02-01 Thread R. Joseph Newton
mario kulka wrote: > Hi, > After I click on "submit" and point to the cgi there is a period of time > before the cgi finishes running and loads the next page. If the script is > simple and takes short amount of time everything is great. But what if > that's not the case? What if the script (while

Re: uploading files

2003-01-31 Thread Pete Emerson
Here's a sample. The trick is to turn on autoflushing ($|=1;) so that your text gets printed out right away. #!/usr/bin/perl -w use strict; use CGI qw(:standard); $|=1; print header; print start_html; for (my $i=0; $i<100; $i++) { print "."; sleep 1; } print "\n"; print end_html; On Fri

Re: Uploading files

2002-12-16 Thread zentara
On Fri, 13 Dec 2002 05:19:08 -0200, [EMAIL PROTECTED] (Andre) wrote: >Hi >I know it is not entirely perl, but can anybody esplain me how does i do upload a >file using a browser (can i use perl to do this)? >Thanks Here's a really simple method using CGI::Simple #

Re: Uploading files

2002-12-16 Thread mod_perl
Yes You can. 1st part print " "; print " "; print ""; print ""; select file from local machine using file field. field name is filetoupload. afeter submiting you get value of file field at server side using $filename=$q->param("filetoupload"); if(!open(OUTFILE, ">$SAVE_DIRECT

Re: uploading files

2002-03-11 Thread Peter Scott
: "you want to take this to the beginners cgi list"; isn't >this the beginner's mailing-list? ([EMAIL PROTECTED]) Correct. But there is another list that focusses on CGI issues like this one: [EMAIL PROTECTED] >>Subject: Re: uploading files >>Date: Mon, 11 Mar

Re: uploading files

2002-03-11 Thread Mariusz K
ou want to take this to the beginners cgi list"; isn't this the beginner's mailing-list? ([EMAIL PROTECTED]) >Subject: Re: uploading files >Date: Mon, 11 Mar 2002 09:17:24 -0800 > >At 12:36 AM 3/11/02 -0600, Mariusz wrote: >>Hi, >> >>I wrote th

Re: uploading files

2002-03-11 Thread Peter Scott
At 12:36 AM 3/11/02 -0600, Mariusz wrote: >Hi, > >I wrote this simple script to upload files, but when I substitute >param('uploadfile') with the actual path in double quotes it doesn't work >that way. However, it works perfectly fine if I use the form to submit the >path of the file through an

Re: Uploading files to a web site status bar.

2001-12-10 Thread Curtis Poe
--- Mike Butler <[EMAIL PROTECTED]> wrote: > I need to create a status bar for users who are > uploading pdf files, some of them quite large, to a > web site. Some of the users are on dial-up and the > upload time could be quite lengthy, so they need to > know that their upload is progressing and

Re: Uploading files to a web site status bar.

2001-12-10 Thread Curtis Poe
--- Mike Butler <[EMAIL PROTECTED]> wrote: > I need to create a status bar for users who are > uploading pdf files, some of them quite large, to a > web site. Some of the users are on dial-up and the > upload time could be quite lengthy, so they need to > know that their upload is progressing and

RE: uploading files via web

2001-08-31 Thread pconnolly
This will give you the form. $script is the name of the cgi script that will actually do the uploading. use CGI; $query = new CGI; print $query->start_multipart_form(POST,"$script",); print 'Enter the file to be uploaded: ',"\n"; print $query->filefield(-name=>"FILE"); print '',"