Hi List,
I am using Win32::OLE to access a custom COM interface
(Secure FTP Server by GlobalSCAPE). Mostly I have been successful
after much reading, experimentation and gnashing of teeth but
how to retrieve a VARIANT array totally escapes me. The only interface
description I have is this IDL:
Hi Kevin,
Thanks for the quick response. And of course it works. I thought I had tried
this too but just went back and discovered I had transposed @$ to $@ (when
converting the array) and of course another error due to a careless mistake.
That's what happens when you look at something too long.
Title: RE: Resolved - Question about Win32::OLE
After screwing up the last two days, I now have this well embedded in my mind. Wel, at least until I have another memory dump.
This list is a great resource.
Best to all,
Sturdy
-Original Message-
From: Timothy Johnson
Title: Question about Win32-OLE
Hi Timothy,
Thanks for the response. Here is the error
trapping added (changed die to warn) which produces the output as I originally
stated.
$SFTPServer-connect( $Server, $Port, $UserName, $Password ) or warn
Could not connect as $UserName to
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-
From:
Title: Question about Win32-OLE
Hi Jan,
Thanks for the assist. I apologize for the
HTML. I'm using Outlook and it is set for "Plain Text" so I
don't yet know where the HTML is coming from. This is a company computer
so much of the configuration is locked in. I'll try to find the
Title: Resolved - Question about Win32::OLE
First, thanks to all who offered their assistance. I spent many hours trying to make my simple test script work...and it does (did)! Darn thing had been working all the time (very embarassing).
The problem seems to be die or warn in this line:
Title: RE: Resolved - Question about Win32::OLE
Hi Nick,
Take a look at the API doc for whatever SFTP program you are accessing;
it may be returning values you are not expecting. After you instantiate
via the new method in OLE you are passed back whatever the external
program passes
Title: Question about Win32-OLE
Hi all,
I am having a problem accessing a commercial SFTP server app (non-MS). My code is below. I can instantiate the object but the connect method refuses to establish the connection.
use Win32::OLE;
my $Server = localhost;
my $Port = 1000;
my $UserName
Title: RE: Re[2]: Does NET::SFTP work on Win32?
Thanks Christopher and others for the response. I installed from Soulcage.net (thanks Scott) without a problem so all looks good. Chris, I successfully (and shamelessly) tested with your example with a few local changes. There is a lot of
Hi all,
I have a perl ftp client that connects to IIS and I need to
update the client to use a secure means of transfer to a SSH/SSL server. All I
need to do is open, login, send, get, and size for files on a remote box. I
have net::sftp and net::ssh::win32 and other associated modules
11 matches
Mail list logo