The syntax of the SCP call depends on the program being used. For PSCP, the syntax on the Windows CLI is:
- Sending files
pscp.exe -scp [-pw <Password>] <LocalFile> <User>@<IP-Address>:target
- Receiving files
pscp.exe -scp [-pw <Password>] <User>@<IP-Address>:target <LocalFile>
The target on the remote device is inserted after a colon following the IP address. The target is either the name of a mount point (see Mount points for SCP file transfer) in the internal file system of the device, or it is config or firmware. The target firmware is reserved exclusively for importing firmware updates, while config is used for importing and exporting configuration files.