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

RE: I have a question concerning SFTP



Oh thanks John but -P is to specify the sftp_server_path. But I just find the solution. I have to specify sftp -oPort=xxxxx -b/.....

I didn't know you can mix the on-line and the batch at the same time.


William Ha
Service de l'informatique (Dev.)
(450) 662-3300 poste 3025




-----Message d'origine-----
De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de John McKee
Envoyé : mardi 4 septembre 2012 11:40
À : HTTPAPI and FTPAPI Projects
Objet : Re: I have a question concerning SFTP

Not sure if this works.  With Linux, use -P and a port number.  May work on the i as well.

John McKee

On Tue, Sep 4, 2012 at 9:58 AM, Ha, William <William.Ha@xxxxxxxx> wrote:

>    Hi All,
>
>
>    I know that this is out of subject but I am sure someone can answer me
>    and I thank you in advance. I want to know how to force the SFTP to use
>    a specific Port number when I am running the command QSH CMD(SFTP -b
>    .... ) through Batch CLLE on the Iseries.
>
>
>    William Ha
>
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> 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
-----------------------------------------------------------------------