I figured out my problem! ;] I needed to have: my $connect; my $FTP; in my routine. duh! I feel so stupid about this one. Later days! Jonathan -------------------------------------------------------------- Jonathan Southwick [EMAIL PROTECTED] Technical and Network Services Allegheny College Meadville, PA 16335 814-332-2755 ----- Original Message ----- From: "Jonathan Southwick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 09, 2000 3:25 PM Subject: FTP problem I have encountered > I use the following code when connecting to an FTP site and call this routine >different places within my program: > > sub UpdateData { > $DataWindow->Caption("GatorNet Database Information - Retrieving Lastest Data, >Please Wait ..."); > $connect->FTP($FTP, "server", "login", "password"); > $FTP->Cd("gatornet"); > $FTP->Binary(); > $FTP->Get("ResNetInfo.txt"); > $FTP->Get("ADSLInfo.txt"); > ($FTPErrNumb, $FTPErrText) = $FTP->Error(); > print $FTPErrNumb; > print $FTPErrText; > $FTP->Close(); > return; > } > > When the program starts, this routine is called and all the data loads fine but if I >try to "update" my data and the > routine is called again I get an error #6 and the message is 'The handle is invalid." > > This does not load the current data/ Doess anyone know why this is happening? > > JOnathan > -------------------------------------------------------------- > Jonathan Southwick [EMAIL PROTECTED] > Technical and Network Services > Allegheny College > Meadville, PA 16335 814-332-275 >