thanks for your help.

BUt what is NFs?..could you give me a link so I can read more about it?

and ..no my script is going to be on my PC.  And if I am understand what you
mean, u are saying I can ftp the file and put it on the location wehre I can
easily open wiht perl.  THe thing is I have to access that particular file
on the AIX machine because that file is constantly updating.  I have a perl
script on the machine that runs every 15 mins that updates that text file.
and my CGI program needs to read from taht text file and outputs some
information.  So u can say taht my program is kinda like a updating program.

So my script needs to be on my PC and somehow accessthe AIX machine and
opens that file.  I don';t know fi I can do that.
nor do I know where to start.  Can perl do this> is this a socket
client/.server communcation type of thing?

Kelvin

-----Original Message-----
From: Matt Schneider [mailto:[EMAIL PROTECTED]]
Sent: January 20, 2003 3:46 PM
To: 'Poon, Kelvin (Infomart)';
'[EMAIL PROTECTED]'
Subject: RE: [Perl-unix-users] Perl and UNix


Kelvin,

I am presuming that your CGI script is running on another AIX or Linux
machine?  You could set up an NFS export and mount of the path containing
the file you want to access.  Otherwise you might need to ftp a copy of it
or something along those lines but that creates a lot of time overhead.

Matt Schneider 
Programmer/System Administrator 
SKLD Information Services, LLC 



-----Original Message-----
From: Poon, Kelvin (Infomart) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 1:35 PM
To: '[EMAIL PROTECTED]'
Subject: [Perl-unix-users] Perl and UNix


Hi all

I got a question and any help would be appreicated.

Ok, I need a perl script that opens/access a file on a Unix system
(RS6000/AIX to be specific).  Well, you would think this is a beginner
problem, and yes it would be if I told you ur perl script is on the unix
system itself.  BUt the problem is my perl script has to be outside of that
system.  So which means, my perl script is going  to be placed on my PC and
I need that perl script to access the Unix machine and then gets the files
out from it.  

It is a text file I need to get and it is used in my CGI program.

Please advise, I hope I didn;t confuse anyone.

THnkas a lot

Kelvin
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to