On Mon, 19 Aug 2024 12:07:41 -0500, Kirk Wolf wrote:

>On Sun, Aug 18, 2024, at 11:57 PM, Paul Gilmartin wrote:
>
>The sftp protocol doesn't have a cd command.
>
That's surprising.  I suspect many clients and many servers
extend that.


>Which client implementation of sftp?  l(ocal) commands are client-only 
>implementations.
>For the Co:Z SFTP client, this returns an error, since we don't allow you to 
>change to the dataset filesystem root; you need at minimum a HLQ.
>
511 $ uname -sv
Linux #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul  5 10:34:03 UTC 2024
512 $ pwd
/tmp/Linux-6.8.0-40-generic-paulgilm
513 $ sftp localhost
Connected to localhost.
sftp> lcd /bin
sftp> ! pwd    # (shell escape.)
/usr/bin
sftp> exit
514 $ 

-- 
Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to