perl, tk, ftp runtime error 
Author Message
 perl, tk, ftp runtime error


I'm running this program with ActiveState build 519 on Win 98 with
current versions of Tk and Net.  When I run this simple program, I get
a runtime exception when I press the button.  If I comment out the
$ftp->ls(); line it works fine.  What the heck am I doing wrong?  

Thanks in advance.


use Tk;
use Net::FTP;

my $mw = MainWindow->new(-height=>200 , -width=>400);

$mw->title("What is it");

$mw->Button(-text=>"F1 B1", -command=>\&b1CB)->pack;


sub b1CB {
  print "Button 1 pressed\n";

  $ftp = Net::FTP->new("");


    print "Val is $val\n";


Thu, 28 Mar 2002 03:00:00 GMT  
 perl, tk, ftp runtime error
I've been able to get this to work when the directory listing is
rather small, about 40 files.  When I perform the ls() method on
directories with over 200 files, I get the runtime error.

Thu, 28 Mar 2002 03:00:00 GMT  
 [ 3 post ] 

 Relevant Pages 

1. Perl, Tk, FTP cause Runtime Exception

2. Tk::Pane runtime errors, how to fix, how to install in private location

3. Tk::Tree / Tk::HList - prune and graft at runtime

4. HELP WANTED: runtime error message: VARIABLE ERROR.

5. Win32::AdminMisc and "error: Runtime Error"

6. Tk-b9.01 + perl 5.002 runtime probs...

7. Solaris 2.8 Perl/Tk Java runtime problem?

8. Help w/newbie Perl runtime Error

9. Runtime Error in Perl

10. Help w/newbie Perl runtime Error

11. Runtime error in Perl executable

12. NET::FTP errors Part2


Powered by phpBB® Forum Software