[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sFTP



   I'd probably build a script with a program. Just write to a file
   (putscript.txt) with all your puts and gets. Then use that file as
   input to sFTP with the -b parameter:
   CHGVAR � � VAR(&SFTPCMD) VALUE('/QOpenSys/usr/bin/sftp' +�   � � � � � � �*BCAT '-vvv -b + � � � � � � �   � � � � � � �/script/location/putscript.txt' *BCAT + � ��   � � � � � � �&SFTPTARGET *BCAT '>> + � � � � � � � � �   � �   � � � � � � �/script/location/logoutput/gelogoutput.txt 2>&1')
   � � � �   � � � � � � � � � � � � � � � � � � � � � � � �   � � ��   QSH � � � �CMD(&SFTPCMD) � � � � � � � � � � � � � �   �
   On Tue, Dec 1, 2015 at 12:25 PM, Jim Muehe <[1]jmuehe@xxxxxxxxxxxxxxxx>
   wrote:

     Oops,
     I left out part of my question
     I meant variable number of put's or get's ?
     Could be 1, could be a hundred.
     Jim Muehe
     -----Original Message-----
     From: Jim Muehe
     Sent: Tuesday, December 01, 2015 10:12 AM
     To: [2]ftpapi@xxxxxxxxxxxxxxxxxxxxxx
     Subject: sFTP
     Hello all,
     Has anyone done a dot scr for the sftp that handles multiple put's
     or get's ?
     Is it even possible?
     Samples / how-to's would be appreciated.
     Jim Muehe
     ________________________________
     CONFIDENTIALITY NOTICE: This e-mail message, including any
     attachments, is for the sole use of the intended recipient(s) and
     may contain confidential and proprietary information. Any
     unauthorized review, use, disclosure or distribution is prohibited.
     If you are not the intended recipient(s), please contact the sender
     by reply e-mail and destroy all copies of the original message.
     --------------------------------------------------------------------
     ---
     This is the FTPAPI mailing list.� To unsubscribe, please go to:
     [3]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

References

   1. mailto:jmuehe@xxxxxxxxxxxxxxxx
   2. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------