title: In Jenkins-Pipeline how do I use sshPut to copy contents of folder, not folder itself?
body: <p>On my Jenkins server, I have a simple test pipeline to check into copying build data to a remote server. 
  I'm using the SSH Pipeline Steps plugin.</p>
  
  <p>My code is:</p>
  
  <pre><code>            stage('Remote SSH') {              
                steps {     
                  sshRemove remote: remote, path: "/mnt/test"
                  sshCommand remote: remote, command: "mkdir /mnt/test"                   
  
                  writeFile file: './tst/abc.sh', text: 'ls -lrt'
                  sshPut remote: remote, from: './tst/', into: '/mnt/test/.'
              }
  </code></pre>
  
  <p>The result is that in /mnt/test I have the created "tst" folder and it's contents.
  What I wanted was just the contents of this tst folder to be transfered to the target.</p>
  
  <p>How should I be formatting the sshPut step?</p>