Differences
This shows you the differences between the selected revisions of the page.
2017-04-05 | 2018-02-08 | ||
https for activestate.com (martin) | code wrapping for the new design (martin) | ||
Line 33: | Line 33: | ||
$sessionOptions->{'UserName'} = 'user'; | $sessionOptions->{'UserName'} = 'user'; | ||
$sessionOptions->{'Password'} = 'mypassword'; | $sessionOptions->{'Password'} = 'mypassword'; | ||
- | $sessionOptions->{'SshHostKeyFingerprint'} = 'ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx'; | + | $sessionOptions->{'SshHostKeyFingerprint'} = 'ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx...'; |
</code> | </code> | ||
Line 109: | Line 109: | ||
$sessionOptions->{'UserName'} = 'user'; | $sessionOptions->{'UserName'} = 'user'; | ||
$sessionOptions->{'Password'} = 'mypassword'; | $sessionOptions->{'Password'} = 'mypassword'; | ||
- | $sessionOptions->{'SshHostKeyFingerprint'} = 'ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx'; | + | $sessionOptions->{'SshHostKeyFingerprint'} = 'ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx...'; |
# Connect | # Connect | ||
Line 118: | Line 118: | ||
$transferOptions->{'TransferMode'} = $consts->{'TransferMode_Binary'}; | $transferOptions->{'TransferMode'} = $consts->{'TransferMode_Binary'}; | ||
- | my $transferResult = $session->PutFiles('d:\\toupload\\*', '/home/user/', FALSE, $transferOptions); | + | my $transferResult = |
+ | ···$session->PutFiles('d:\\toupload\\*', '/home/user/', FALSE, $transferOptions); | ||
# Throw on any error | # Throw on any error |