RE: Question about Win32-OLE

2006-05-25 Thread D D Allen
pts>cscript test.pls" Regards, ... Dewey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/25/2006 07:48 AM To [EMAIL PROTECTED], perl-win32-users@listserv.ActiveState.com cc Subject RE: Question about Win32-OLE Hi Timothy, Thanks for the response. Here is the error tr

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
  Thanks again and best regards, Sturdy     From: Jan Dubois [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 5:34 PM To: [EMAIL PROTECTED]; perl-win32-users@listserv.ActiveState.com Subject: RE: Question about Win32-OLE   It is not clear that the Connect() call failed.

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
Title: RE: Question about Win32-OLE Hi Nick, Thanks for your thoughts (it was a looong day). I did both. I trapped LastError after instantiating the object and new() does not throw an error. However, I can't tell if it is occurring correctly. Sturdy > -Original Message

RE: Question about Win32-OLE

2006-05-25 Thread robert . w . sturdevant
ne, it seems like if it works in VBS it should also work in perl. I hate to kludge my ftp client with a lot of VBS unless I have to.   Again, thanks for the assist and regards, Sturdy     From: Timothy Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 4:15 PM To: [EM

RE: Question about Win32-OLE

2006-05-24 Thread Bharucha, Nikhil
I would place SFTPCOMInterface.CIServer in single quotes and I would check your object reference $SFTPServer after "new" to make sure that it executed ok. Just some thoughts at the end of the day... Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [

RE: Question about Win32-OLE

2006-05-24 Thread Jan Dubois
Title: Question about Win32-OLE It is not clear that the Connect() call failed.  Is it defined to return a true value if it succeeds?  Your _vbscript_ code is not checking the return code of Connect() at all.   If the connection is indeed failing, then you should try to print out Win32::O

RE: Question about Win32-OLE

2006-05-24 Thread Timothy Johnson
Title: Question about Win32-OLE Are you sure that the connect method is returning a non-zero value on success?  What happens if you take out the die clause?       From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 11:59