Re: Need OLE COM/Variant help

2007-04-12 Thread Bill Luebkert
[EMAIL PROTECTED] wrote: > 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 interfac

Re: filefield...Solution number 7: UPDATE

2007-04-12 Thread Bill Luebkert
Jerry Kassebaum wrote: > I wrote back to the guys at my server, asking what they did to solve the > problem. The actual solution was that they added this line, right under the > shebang line: > > $CGITempFile::TMPDIRECTORY = '/users/web/kass/web/dns/tmp'; You could also have just done a mkdir '

RE: Need OLE COM/Variant help

2007-04-12 Thread robert . w . sturdevant
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. An

Re: Need OLE COM/Variant help

2007-04-12 Thread mark pryor
Robert, its easy once you use the right Win32::OLE support module :) check out this WMI sample that shows how to allocate for an 8204 array. http://www.techiegroups.com/showthread.php?t=48703 Here's an object browser for scripting (by me) to help see the properties and methods http://www.tlview

Need OLE COM/Variant help

2007-04-12 Thread robert . w . sturdevant
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: Re

Re: filefield...Solution number 7: UPDATE

2007-04-12 Thread Jerry Kassebaum
I wrote back to the guys at my server, asking what they did to solve the problem. The actual solution was that they added this line, right under the shebang line: $CGITempFile::TMPDIRECTORY = '/users/web/kass/web/dns/tmp'; _ Mortga

Re: filefield...Solution number 7

2007-04-12 Thread Jerry Kassebaum
>Things to look at or try: 7) This is from a rep at my server: "Hi Jerry, Thank you for contacting us. We have found the problem and we have fixed it for you. Kindly check it. Thank you." Thanks for your help, Bill!! It is working. If you upload a textfile to http://biblescramble.com/dn

Re: filefield

2007-04-12 Thread Bill Luebkert
Jerry Kassebaum wrote: > > I tried > > my $tmpdir = "/tmp"; > > and > > my $tmpdir = $ENV{TEMP} || "C:/tmp"; > > and > > my $tmpdir = $ENV{TEMP} || "/tmp"; > > Same error: "Software error: > > CGI open of tmpfile: Permission denied" Things to look at or try: 1) What are the perms on /tmp