Re: Reading mail box.

2006-05-18 Thread A. Pollock
Yeah, you have to install Mail::Box::IMAP4 manually after you install Mail::Box. It should work fine after that. It's a great little module. > - Original Message - > From: "Yekhande, Seema (MLITS)" <[EMAIL PROTECTED]> > To: perl-win32-users@listserv.ActiveState.com > Subject: Reading mail

Re: Does NET::SFTP work on Win32?

2006-05-16 Thread A. Pollock
It does work. I can confirm. The order in which you install the modules is important. Install first Net::SSH::W32Perl, after that Net::SFTP. At least it finally worked for me in Perl 5.8. You may have to uninstall everything first then reinstall, starting with W32Perl, as I did. This is covered

Re: Win32::OLE::Variant, perl crashing.

2006-05-07 Thread A. Pollock
Thanks Luke, SUPER. That's the one I was thinking about. Much better than nesting every last single call to Date() in an ungainly if/else statement. > - Original Message - > From: "Luke Bakken" <[EMAIL PROTECTED]> > To: perl-win32-users@listserv.ActiveState.com > Subject: Re: Win32::OLE:

Re: Win32::OLE::Variant, perl crashing.

2006-05-06 Thread A. Pollock
Sure. if (ref ($sentdate) eq 'Win32::OLE::Variant') { # something with $sentdate->Date } else { # assume $sentdate is a string. } There might be something more efficient one can do with SUPER or AUTOLOAD or something. I've never had the time to figure it out though. > - Original Messa

Net::SFTP -- What are all those STDERR messages? How do I turn them off?

2006-02-13 Thread A. Pollock
Sample program: use Net::SFTP; my $host = 'myserver.somewhere.com'; my $user = 'username'; my $password = 'xx'; my $sftp = Net::SFTP->new ($host, 'user' => $user, 'password' => $password); $sftp->put ('file.txt', 'file.txt'); undef $sftp; I get a huge amount of warnings,

Win32::GUI: How do I use a splitter (window "frames")

2006-02-02 Thread A. Pollock
I built a simple Win32::GUI application which connects to an Access database containing hierarchical records and builds a tree view out of them. Now I would like to extend the application so that clicking on a record in the tree in the right-hand pane will display the record details in a left hand

Re: SFTP: Can't locate object ... Works now!

2006-01-21 Thread A. Pollock
ting to do a diff and see how these new ppm-installed modules differ from the ones I was using earlier. Thanks Sisyphus! Arvin > - Original Message - > From: "A. Pollock" <[EMAIL PROTECTED]> > To: perl-win32-users@listserv.ActiveState.com > Subject: SFTP: Can&

Re: Can't locate object method "_session_channel"

2006-01-19 Thread A. Pollock
> - Original Message - > From: Sisyphus <[EMAIL PROTECTED]> > - Original Message ----- > From: "A. Pollock" <[EMAIL PROTECTED]> > . > . > > Can't locate object method "_session_channel" via package > "Net::SSH::P

SFTP: Can't locate object method "_session_channel"

2006-01-18 Thread A. Pollock
Hello, I'm trying to transfer a file from Windows 2000 to a unix machine. Using Net:SFTP, debug on, I get the following error: GHART-626-001: Reading configuration data /.ssh/config GHART-626-001: Reading configuration data /etc/ssh_config GHART-626-001: Connecting to abra.tselk.edu, port 2021. G