Hi
Sorry for my misunderstanding.
password_prompt may not be your case.
Jeremy.l SR 於 2023年4月18日 週二 上午10:00寫道:
> Hi
>
> What is your password_prompt on your remote sftp server?
> ex:
> root@192.168.56.100's password:
>
> according the document, your script will hang at the login phase if the
>
Hi
What is your password_prompt on your remote sftp server?
ex:
root@192.168.56.100's password:
according the document, your script will hang at the login phase if the
wrong prompt is used.
Brent Wood via beginners 於 2023年4月18日 週二 上午7:54寫道:
> Thanks for that suggestion, it does provide mor
Hi,
Can you edit the constructor to include `more => [ -v ]` so we can get more
feedback from the SSH connection and send the output from that.
$sftp = Net::SFTP::Foreign->new($host,
user => $user,
password => $pass,
more => [
qw(
-v
Perl has a repository of user-submitted modules called Comprehensive Perl
Archive Network (CPAN). Net::SFTP::Foreign can be installed from there, and it
looks like a good candidate, as does Net::SFTP. The two modules use different
methods for invoking the SFTP protocol. I would try one and, if t
Hi,
I'm not a perl coder, (though have written a few very simple Perl scripts when
necessary) but now I need to write a Perl script to transfer specified files
from one computer to another. I have scribbled out a script a while back using
FTP, but now need to use SFTP. I can re-use most of the o