Help with copying from one drive to another with cgi & ksh script
Hi I was hoping some one could help me with a problem I have with a .cgi script I am running in the korn shell.
I have created a web form that user fill out to gather information that I use a .cgi and sed script to translate into a xml file which is further processed by another program.
All is well except for one final glitch, the .cgi script I am using will not copy the final .xml file to its final destination on another disk on our network.
I can copy the files to their final network location if I open another shell without a problem - just the current shell that is running the cgi refuse to do so.
I have tried every way around this I know and I still can not get the current shell running the .cgi script to do as I have asked.
If any one has a suggestion that I could try I would be very thankful for your help as I am at my wits end.
Below Is some of the relevant code I am using
Below is the line of code that I just cant seem to make work.
I would be very grateful for any assistance you can provide.
If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link?
Hope that makes sense!
:) (2 Replies)
Hi all,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (1 Reply)
Hi,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (2 Replies)
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Hi All
I am trying to copy files present in a partition (server 2) which is mounted to a different server (server 1) as tape drive is connected to it. I ran the below command to copy files within a partition:
svr01:root:/sunfileserver> tar -cvf *
a <foldername>/<filename>/<filename>
a... (4 Replies)
Hi,
I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP.
Can any one help me with syntax for connecting to Windows machine and moving the files with RCP in KSH?
Thanks in advance.
Double post.... (0 Replies)
I copied some files from my Linux EXT4 box to an ntfs flash drive. I have ntfs-3g installed, and the files copied fine, but I could not view them on a Windows box. What happened? Did it not write them using NTFS? Did it mount the drive under a different file-system (is that even possible)? (1 Reply)
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
I need to perform operation as captioned.
I found out USB CD Drive is attached, by running 'lsusb' command.
I am trying to identify mechanism by which I could mount this USB CD drive to disk. After which I expect to copy the contents.
Could anyone indicate how this could be performed ? (3 Replies)
Hi Team
when I boot the server I get this 2 errors :
the disk drive for /tmp is not ready yet or not present
the disk drive for /boot is not ready yet or not present
and its stay like that , I m using Ubuntu 12.04
please if someone have any idea how to fix that problem . (1 Reply)
Discussion started by: SULTAN01
1 Replies
LEARN ABOUT DEBIAN
svnweb-server
SVNWEB-SERVER(1p) User Contributed Perl Documentation SVNWEB-SERVER(1p)NAME
svnweb-server - simple webserver for SVN::Web
SYNOPSIS
svnweb-server [--root DIR] [--port PORT] [--net-server Net::Server]
DESCRIPTION
svnweb-server is a webserver that runs SVN::Web. It's an easy way to use SVN::Web without having to set up Apache (or any other web
server). The tradeoff is that the server is very simple. But for light use then it may be perfectly acceptable.
OPTIONS --root DIR
The directory in which you ran "svnweb-install".
Optional, defaults to ".".
--port PORT
The port the server should listen on.
Options, defaults to 8080.
--net-server Net::Server
The Net::Server subclass to use to create the server. A single, non-forking server is created by default. Other types of server can
be created by giving the correct Net::Server subclass. For example, to use a server that forks to handle each request, use
"--net-server Net::Server::Fork".
SEE ALSO
SVN::Web
BUGS
This is a simple server. Accordingly, a few features do not work properly at the moment.
Redirects
SVN::Web::Browse will redirect the client if the URL is missing a trailing "/". That redirection does not work with this server.
That's not an issue for any URLs generated by SVN::Web, but may be an issue for URLs that are entered by hand.
This will also affect SVN::Web::List's "redirect_to_browse_when_one_repo" option.
cgi_class
The "cgi_class" declaration (if any) in config.yaml is ignored. CGI is always used as the CGI class.
Please report any bugs or feature requests to "bug-svn-web@rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web>. I will be notified, and
then you'll automatically be notified of progress on your bug as I make changes.
AUTHOR
The current maintainer is Nik Clayton, <nikc@cpan.org>.
COPYRIGHT AND LICENSE
Copyright 2006-2007 Nik Clayton. All Rights Reserved.
perl v5.14.2 2012-06-11 SVNWEB-SERVER(1p)