Net:FTP, Net::Cmd

I'm using Net::FTp and Net::Cmd modules in a script to completely
automate some FTPing stuff.

snippet

$ftp->put($fileh,"/tmp/test.txt") || die "cant put the file\n";
$ftp->command("chmod","755","test.txt") || die "Cant run quot\n";
$ftp->quit();

I have no luck making the $ftp->command stuff to work.  I'm using
solaris 5.8 ftp client.  Anyway, I can make this work? Native
Solaris ftp client/server can not support "quot site" stuff.
Am I out of luck??

Please dont offer suggestions to use "Net::FTPserver" etc., I'll 
have to use what I have.

-ravi


This message is for the named person's use only.  It may contain 
confidential, proprietary or legally privileged information.  No 
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.  Any
views expressed in this message are those of the individual sender, except
where the message states otherwise and the sender is authorised to state 
them to be the views of any such entity.
Unless otherwise stated, any pricing information given in this message is 
indicative only, is subject to change and does not constitute an offer to 
deal at any price quoted.
Any reference to the terms of executed transactions should be treated as 
preliminary only and subject to our formal written confirmation.




0
ravi
7/19/2001 9:19:11 PM
perl.beginners 29381 articles. 4 followers. Follow

0 Replies
939 Views

Similar Articles

[PageSpeed] 47

Reply: