SCP Example for CURLSMBS

We got LasterrorMessage for that.

I thought that was the generic message for the last error code (e.g. 1=“Unsupported Protocol”.) In contrast, the error buffer usually gives some context (e.g. “Protocol ‘scp’ not supported or disabled in libcurl”).

With a DebugData, I found out that there is a password error. “Invalid Password”. Good.

By the way,
How can we put a password which has a special character like ‘!’, ‘#’?

  1. scp://saccount:oracle@192.168.0.6:2222/oracle/temp/test.txt
  2. scp://192.168.0.5:2222/oracle/temp/test.txt -u “saccount:ora!/#”

1 works fine. However, when special characters are used in the password as 2, it doesn’t work. Invalid Password.

Do you know how to do that in scp URL?

Please do never include username and passwords in URLs, as those get often written to log files and would reveal your credentials!
Instead use OptionUsername and OptionPassword.

Great. With OptionUsername and OptionPassword, it works fine.
Thank you!

Excellent. Enjoy the plugin!