PSCP is a CMS implementation of the popular scp command available in many other environments. It provides a command-line client for      

encrypted file transfer between hosts originating from CMS to other machines. The client is able to translate between multiple code pages.    

 

PSCP Sample

 

PSCP enables the secure copying of files to and from a remote site. Wildcard characters are supported for both local and remote files.

 

Examples

 

  1. In this example the PSCP command is used to transfer a file from a remote target using a private key (the CMS file ECDSA PPK which resides on an accessed disk/filespace). Note, no translation is performed:

 

pscp -i ecdsa.ppk [mailto:neale@example.com:unwind.c]neale@example.com:unwind.c unwind.c.b                

 unwind.c.b                | 1 kB |   1.3 kB/s | ETA: 00:00:00 | 100%

                                                                    

 1321 bytes transferred                                             

 

  1. In this example, we use wildcarding to transfer all files on the ‘B’ disk with a filetype of ‘ASSEMBLE’ and the first two characters of the filename ‘DR’ to a remote target using private key. The files are translated to codepage ISO8859-1 from IBM-1047:

 

pscp -cp iso8859-1:ibm-1047-i ecdsa.ppk dr*.assemble.b neale@example.com:.                     

 dridftr.assemble          | 3 kB |   4.0 kB/s | ETA: 00:00:04 |  18% 

 dridftr.assemble          | 21 kB |  21.9 kB/s | ETA: 00:00:00 | 100%

                                                                       

 22400 bytes transferred                                               

                                                                       

 drrxgpd.assemble          | 3 kB |   4.0 kB/s | ETA: 00:00:14 |   6% 

 drrxgpd.assemble          | 63 kB |  63.0 kB/s | ETA: 00:00:00 | 100%

                                                                       

 64560 bytes transferred                                              

                                                                       

 drrxvsw.assemble          | 3 kB |   4.0 kB/s | ETA: 00:00:11 |   7% 

 drrxvsw.assemble          | 51 kB |  51.0 kB/s | ETA: 00:00:00 | 100%

                                                                       

 52240 bytes transferred                                              

                                                                       

 drutalt.assemble          | 3 kB |   4.0 kB/s | ETA: 00:00:03 |  21% 

 drutalt.assemble          | 18 kB |  18.4 kB/s | ETA: 00:00:00 | 100%

                                                                       

 18880 bytes transferred                                              

                                                                       

 drutorg.assemble          | 3 kB |   4.0 kB/s | ETA: 00:00:05 |  16% 

 drutorg.assemble          | 24 kB |  24.5 kB/s | ETA: 00:00:00 | 100%

 

25120 bytes transferred

                         

Ready;