Re: Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread $Bill Luebkert
Dennis Daupert wrote: > Ah, OK, thanks for that info. So 1 or 0 does not mean > 'success' or 'failure,' but rather number of copies. You should never get a 0 - just >0 or undef. No need to CC me - I get 3 copies. I CC you so you get an immediate reply (as the poster) esp. when AS is slow during

Re: Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread Dennis Daupert
$Bill Luebkert> >> [2006-10-04 04:53:12] return: > I would take the above to mean an error occurred. Yeah, given the fact that's the only indicator of an error, I've modified the code to use the value of $return: if ( !$return ) { $logger->info("File was not copied"); } > The fact tha

Re: Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread $Bill Luebkert
Dennis Daupert wrote: > Still having the same error capture problems tho. > When I un-share the remote directory, run the > script, here's what get's written to my log (I'm > particularly unnerved by the msg "The operation > completed successfully"): > > [2006-10-04 04:53:08] Try to copy file tes

Re: Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread Dennis Daupert
Todd Beverly> >It looks like there is another command (CopyEx) , >which will take the FOF options. Todd, thanks BIG! That was very helpful. I substituted CopyEx for Copy, and he takes the constants. When I share the remote directory and run my script, he copies the file over nicely, and gives

Re: Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread Todd Beverly
Dennis Daupert wrote: > > > I'm using Win32::FileOp to copy a file to a remote machine. > I've shared a directory on the remote machine, and this copy > command works nicely when the network is up and everybody > plays together: > > eval { > $return = Copy ($copy_from => $copy_to ); > }; > > T

Win32::FileOp Question, and Odd Error behavior

2006-10-04 Thread Dennis Daupert
I'm using Win32::FileOp to copy a file to a remote machine. I've shared a directory on the remote machine, and this copy command works nicely when the network is up and everybody plays together: eval { $return = Copy ($copy_from => $copy_to ); }; To simulate network down for error handli

Re: error when I try to execute the "SaveAs" function in Win32::OLE" when I try to save an Excel worksheet to a new format.

2006-10-04 Thread work
Quoting Glen Plantz <[EMAIL PROTECTED]>: > Hi Folks, > > I'm getting an error when I try to execute the "SaveAs" function in > Win32::OLE" when I try to save an Excel worksheet to a new format. > > ( I'm using the " csv " format here, but I _really_ want to save each > sheet in the workbook as a

Re:

2006-10-04 Thread Ted Schuerzinger
David Jelinek <[EMAIL PROTECTED]> graced perl with these words of wisdom: > This is a cryptographically signed message in MIME format. I think "cryptic" would me more appropriate than "cryptographic" for the original post. I wonder if the OP codes Perl the same way he posts here. :-) -- Ted

error when I try to execute the "SaveAs" function in Win32::OLE" when I try to save an Excel worksheet to a new format.

2006-10-04 Thread Glen Plantz
Title: error when I try to execute the "SaveAs" function in Win32::OLE" when I try to save an Excel worksheet to a new format. Hi Folks, I'm getting an error when I try to execute the "SaveAs" function in Win32::OLE" when I try to save an Excel worksheet to a new format.  ( I'm using the "

[no subject]

2006-10-04 Thread David Jelinek
-- David Jelinek Systems Programmer Adv Tech, IT, Central Michigan Univ. smime.p7s Description: S/MIME Cryptographic Signature ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com