in reply to Accessing files on a Windows server from *NIX via SMB
Why does the user need to FTP the files to the UNIX box? Can't your script just attach using Net::FTP and issue an ls, parsing the results?
I'm suggesting something like this (psuedo):
my @CSV_list = parse_csv_file('stupid_file.csv'); if (@CSV_list) { my $ftp = connect_and_login('remote.site.tld'); my @listing = parse_dir($ftp->ls('.')); compare_contrast(\@CSV_list, \@listing); }
At what point do any files need to be sent to the FTP server?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing files on a Windows server from *NIX via SMB
by Bob9000 (Scribe) on Aug 22, 2005 at 16:59 UTC | |
by radiantmatrix (Parson) on Aug 22, 2005 at 21:34 UTC | |
by Ven'Tatsu (Deacon) on Aug 22, 2005 at 22:11 UTC | |
by radiantmatrix (Parson) on Aug 23, 2005 at 13:34 UTC |