Re: can this be done with Perl?

From: Jim Keenan (no_spam_for_jkeen_at_verizon.net)
Date: 01/24/04


Date: Sat, 24 Jan 2004 17:16:18 GMT


"TX Italian" <calabresejason@yahoo.com> wrote in message
news:2538529a.0401240739.20189e1d@posting.google.com...
> I have a batch file that is used to move files from several computers,
> onto a server. Since this batch file needs to be used by different
> locations, is there a way to generate a "form" of sorts, where the end
> user could type in the pc names at there site as well as the name of
> the server the files are to be copied to, and have it generate a batch
> file?

It seems to me that this would be a fairly straightforward use of Perl for
CGI. You would place a CGI script, written in Perl (and probably using Perl
extension CGI.pm), on a server. The script would generate an HTML form
which would have fields where end-users could enter file names. But if
there are only a few different places to which those files are being moved,
use radio buttons instead of text areas. When the end user clicks on
Submit, the script would execute the required moves.

There are a number of books on the topic of Perl and CGI that can guide you
through the process. There are Usenet newsgroups specifically devoted to
CGI, and there are mailing lists at learn.perl.org and nntp.perl.org that
are Perl/CGI-focused. Once you get a script together, those places will be
better for getting comments on your script.

Jim Keenan



Relevant Pages

  • Re: can this be done with Perl?
    ... Since this batch file needs to be used by different ... >>the server the files are to be copied to, and have it generate a batch ... You would place a CGI script, written in Perl (and probably using Perl ...
    (comp.lang.perl.misc)
  • Re: How do I insert a cgi script into Publisher page?
    ... If your ISP supports cgi and has a form handling program then a form created ... You must tell the server what e mail address you want the form results sent ... any where else you so desire or an auto redirect script with a delay. ... link to your host and specifically where on the host website it gives you ...
    (microsoft.public.publisher.webdesign)
  • Re: How do I insert a cgi script into Publisher page?
    ... If your ISP supports cgi and has a form handling program then a form created in publisher will function using FTP upload rather than front page server extensions to upload the pages. ... The thank you page may have a link back to the page where you came from or any where else you so desire or an auto redirect script with a delay. ... Also provide us a link to your host and specifically where on the host website it gives you the instructions for using the forms program in the cgi folder. ...
    (microsoft.public.publisher.webdesign)
  • Re: Apache: limiting the execution place
    ... They want it so users can't use FTP, shell, or a CGI or PHP script to view, ... other users via shell, FTP, web server processes (such as PHP or CGI ...
    (Security-Basics)
  • Re: Simple script execution problems (newbie)
    ... my $query= new CGI; ... Internal Server Error 500 and the error log reports "Premature end of script ... Permission denied", "Premature end of script headers: ...
    (comp.lang.perl.misc)