in reply to Naming problem?

Aside from the naming problem:

$ftp->login("$logint",'$passt');

$passt is in single quotes. The variable won't interpolate, and you'll literally be sending the string '$passt' as your password.

A little error checking would help you out also. Pepper in a few "or die"'s :)