Hi Ricks,
If you don't respond in the next few days I'm going to have to close
this ticket. You didn't give me enough information to figure out what
was wrong and all the trace/error statements were from your code, not
mine.
Please see my comments below on what's needed to resolve this
problem. My best guess at this point it's an issue with how you are
using Net::FTPSSL instead of the code itself.
Curtis
On Mon Mar 28 12:18:01 2011, CLEACH wrote:
Show quoted text> Hi Ricks,
>
> It would help if you'd send me a small snippet of code that
generated
Show quoted text> the error along with the log file. To turn on the log file, add the
> following to the "new" call.
>
> Net::FTPSSL->new (..., Debug=>1, DebugLogFile => 'box.txt');
>
> With the code snippets & the log files, I'll probably be able to
> figure it out fairly quickly. Please use different log files for
both
Show quoted text> your examples.
>
> Having the screen shot like you provided below isn't much use
without
Show quoted text> the other 2 pieces of info.
>
> Curtis
>
> On Mon Mar 28 11:39:06 2011, ricks03 wrote:
> > Hi!
> >
> > I'm trying to use FTPSSL, with port # 2222. (the port of my ISP's
> FTP
> > server for SFTP)
> >
> > I get this error:
> > H:\scripts>box.pl
> > 10:41:29: Connecting to ricks03.example.com
> > Use of uninitialized value in string ne at
> > C:/Perl/site/lib/Net/FTPSSL.pm line 681.
> > Use of uninitialized value in substr at
> C:/Perl/site/lib/Net/FTPSSL.pm
> > line 685.
> >
> > Argument "" isn't numeric in numeric eq (==) at
> > C:/Perl/site/lib/Net/FTPSSL.pm line 66.
> > 10:41:29: Can't open ricks03.example.com
> > Can't open ricks03.example.com at H:\scripts\lockbox.pl line 50.
> >
> >
> >
> >
> > If I change the port # to 991, it fails to connect, but doesn't
> error out:
> > H:\scripts>lockbox.pl
> > 10:40:55: Connecting to ricks03.example.com
> > 10:41:17: Can't open ricks03.example.com
> > Can't open ricks03.example.com at H:\scripts\box.pl line 50.
> >
> >
> > Any ideas?
>