On 11/2/07, lerameur <[EMAIL PROTECTED]> quoted my entire response to
an earlier question, then seemingly followed up with another one:

> I am having success with manually transfering my files between the two
> servers. Unfortunately I do not have root access to the other server
> and the .ssh directory is hidden.

What .ssh directory? If it's on the other server, you don't need it.
If it's on your machine and you can't access it, you don't need it
either. (You may need an administrator who knows how to set up your
machine properly, or permission to do it yourself, but neither Perl
nor the citizens of this forum can help you get those things.)

In short, if you can transfer the file "manually", you should be able
to do it with Perl.

> $SCP->put($file_to_put) or die $SCP->{errstr};       # DIES
> HERE...............!!!!!!!!

> The directory exists, I do not know why, any ideas?
> anything else would be needed?

What says the helpful error message that you got from $SCP->{errstr}?

It seems you're using Net::SCP. It may be that Net::SFTP will work
better for you. At least, that module offers a debug mode that should
give you more verbose information as the connection proceeds, so you
should at least find out why it's not working when it fails. Of
course, you'll need to rework your code somewhat to properly interface
to Net::SFTP, but that shouldn't be too complex.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to