• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Protocols - ExternalControl I/O
  • SCPRequest and SFTPRequest
  • 5.0.0

SMTPRequest ExternalControl I/O Configuration Examples

SCPRequest and SFTPRequest

SCPRequest and SFTPRequest

SCPRequest and SFTPRequest allows CDP to read or write any file using SCP (Secure Copy) or SFTP (Secure File Transfer Protocol) protocols on any remote SSH (Secure Shell) server.

SCPRequest and SFTPRequest share common properties with other URLRequests, but have also the following specific configuration properties:

PropertyDescription
URL<string>File URL (or pathname). Can be prefixed by SCP or SFTP protocol schemes (scp:// or sftp://).

Note: URL property will be processed by FormatTranslator before using, so you can send any request channel value in there, that can be useful for sending channel values as part of URL (note that values can also be ValueMap translated to any string).

MethodMethod to use for request. Choose between PUT for composing and writing request channels into file and GET for retrieving file content and parsed into response channels.
HostPublicKeyMD5<string>Set MD5 fingerprint (hash) that the remote host public key must match with. If the fingerprint does not match with the MD5 fingerprint (32 hexadecimal digits) provided then the request will fail with corresponding error message and error code.

Note: One easy way to get remote host current MD5 fingerprint for this property is to run the application (with corresponding SCPRequest and/or SFTPRequest), set ExternalControlBroker component Debug level to at least 3 and then find and copy fingerprint from Application Output log message like this CONN * SSH MD5 fingerprint: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

AllowAnyHostKey<bool>Disable remote host key verification. Default is to check remote host public key either by using fingerprint set by HostPublicKeyMD5 or by looking corresponding entry in CDP controller's ~/.ssh/known_hosts file (i.e. in the known_hosts file in the .ssh folder that is located in the user's home directory the application is running under)
SSHPrivateKeyFile<string>Private key file name (for SSH client authentication). Can be absolute or relative pathname to the CDP application folder.
PrivateKeyPwd<string>Pass-phrase for decrypting private key file (in cases private key is encrypted).

See also shared common properties with other Requests (including the properties controlling what events cause the SCPRequest and/or SFTPRequest to be sent).

See also shared common properties with other URLRequests (including request encryption settings).

SMTPRequest ExternalControl I/O Configuration Examples

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top