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öm    Sourcerer @ 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

Reply via email to