in reply to SFTP Issue

i gave the password as null , since i am not using the password...

Well ... that's the issue. If you look at line 62 in Net::SFTP that's where the login happens. By passing the password parameter, it's trying to login with a blank password. How are you authenticating via the cmdline? Public key or passphrase?

-derby

Replies are listed 'Best First'.
Re^2: SFTP Issue
by prasanna14 (Initiate) on Jul 15, 2008 at 20:17 UTC
    From command line i am just giving as

    "sftp user@host"

    since while creating the RSA key , i just gave empty for both password and passphrase, But in NET::SFTP , they have mentioned for password as " if you use public key authentication, this argument is unused " so i thought i can give a null

    -prasanna