Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Barlow, Neil

Hi All,

I was hoping that someone could send me in the right direction as to the
resources that I need to complete this task - I REALLY REALLY APPRECITATE
YOUR HELP!!! I ahave been reading away at Programming Perl/Perl Cookbook to
no avail.

I have a script which will be launched from a Win32 Machine - the problem is
that I have to connect to a Unix box which contains a directory of different
files which I have to process.

I am unable to work out how to connect to the Unix box and parse the
directory - can anyone advise on the way to go???

I have been reading up on IO::Socket - I think that this is what I should be
doing?

Again, I really appreciate your input..



Neil Barlow

Network Analyst
Global Infrastructure SRS
Ireland Computing
Intel Ireland 

Phone: +353-1-6066889 Or #6889 
iNet: 8-606-6889
Loc: IR5-1-C4
Email: [EMAIL PROTECTED] 


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



Re: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Trevor Joerges

Net::FTP is probably what you want. Or depending on what you want to do with
the files Net::Telnet might be useful.

Hope this helps.

Kind regards,
Trevor J. Joerges

$_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl
rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.dpn ,rrr8-)
;;s;\~;kpfshft;g;s;\%;tfoenjnf;g;y;B-x;A-w;;
s;P;perl;g;s;,;\n;g;s;Y; ;g;s;q;\t;g;print;


- Original Message -
From: Barlow, Neil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 7:34 AM
Subject: Connecting/Parsing Files On A Unix Machine - NEWBIE


| Hi All,
|
| I was hoping that someone could send me in the right direction as to the
| resources that I need to complete this task - I REALLY REALLY APPRECITATE
| YOUR HELP!!! I ahave been reading away at Programming Perl/Perl Cookbook
to
| no avail.
|
| I have a script which will be launched from a Win32 Machine - the problem
is
| that I have to connect to a Unix box which contains a directory of
different
| files which I have to process.
|
| I am unable to work out how to connect to the Unix box and parse the
| directory - can anyone advise on the way to go???
|
| I have been reading up on IO::Socket - I think that this is what I should
be
| doing?
|
| Again, I really appreciate your input..
|
|
| 
| Neil Barlow
|
| Network Analyst
| Global Infrastructure SRS
| Ireland Computing
| Intel Ireland
|
| Phone: +353-1-6066889 Or #6889
| iNet: 8-606-6889
| Loc: IR5-1-C4
| Email: [EMAIL PROTECTED]
| 
|
| ___
| Perl-Win32-Users mailing list
| [EMAIL PROTECTED]
| To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|


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



Re: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Johan Lindstrom

At 12:34 2002-10-07 +0100, Barlow, Neil wrote:
I have a script which will be launched from a Win32 Machine - the problem is
that I have to connect to a Unix box which contains a directory of different
files which I have to process.

I am unable to work out how to connect to the Unix box and parse the
directory - can anyone advise on the way to go???

Either you a) run something on the Unix box, or you b) fetch the files and 
process them on the Windows box. I'd try to get it to work using a) if 
possible, but b) is good too if the file transfer isn't a problem wrt size 
and speed.

So, how to fetch the files? FTP is one option (existing protocols are good, 
don't invent your own). (If you need a secure connection take a look at SCP).

In Perl that means Net::FTP which is included in the libnet module. This is 
how to use it:
http://search.cpan.org/author/GBARR/libnet-1.12/Net/FTP.pm

This is how to install it:
C:\ ppm install libnet
should work if it's not already included in the ActiveState distribution.


/J

 --  --- -- --  --  -- -  - -
Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED]

Latest bookmark: Ramdisk - CENATEK
http://www.cenatek.com/product_ramdisk.cfm
dmoz (1 of 3): /Computers/Hardware/Storage/Hard_Drives/ 56


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