$host = "hostname"; $user = "user"; $psswrd = "xxx@xxx"; $ftp->login($user,$psswrd) or $newerr = 1;