Help for this page

Select Code to Download


  1. or download this
    use Win32::OLE qw(in with);
    use Win32::OLE::Const 'CuteFTPPro';
    ...
    print "autoclosemethod is currently ", $ftp->{Option}{AutoCloseMethod}
    +, "!\n";
    $ftp->SetProperty('Option', "AutoCloseMethod", 1);
    print "autoclosemethod is now ", $ftp->{Option}{AutoCloseMethod}, "!\n
    +";
    
  2. or download this
    D:\>perl test.pl
    autoclosemethod is currently !
    ...
        in PROPERTYPUT "Option" at test.pl line 8
    autoclosemethod is now Use of uninitialized value in print at test.pl 
    +line 8.
    !