Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
$utente='Auser'; Win32::NetAdmin::UserGetAttributes("", $utente, $password, $passwordAg +e, $privilege, $homeDir, $comment, $flags, $scriptPath) or die "UserG +etAttributes() failed: $^E"; $ftp = Net::FTP->new("www.aiming.it", Debug => 0); $ftp->login("$utente","$password")||die $!; $ftp->cwd("aiming"); while ($ftp->dir()){print} #OR ? @lista=$ftp->dir(); print "@lista\n"; $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::netAdmin pwd question
by meetraz (Hermit) on Feb 25, 2003 at 16:15 UTC | |
by Anonymous Monk on Feb 25, 2003 at 19:31 UTC | |
by meetraz (Hermit) on Feb 25, 2003 at 21:06 UTC |