[Info-vax] Force SFTP to run LOGIN.COM or equivalent
plugh
jchimene at gmail.com
Fri Feb 11 08:48:54 EST 2022
On Thursday, February 10, 2022 at 5:23:28 AM UTC-7, Kenneth Randell wrote:
> On Wednesday, February 9, 2022 at 9:25:59 PM UTC-5, VAXman- wrote:
> Thanks for the responses - as for WHY, basically I want to mimic the behavior of FTP where a login script can set a default directory for files transfers which is different than the user's 'home' directory that would contain log files which just further confuses matters. I realize it's just as simple for the user to issue a CWD command during the SFTP file transfer session, but there are those who will simply say 'SFTP doesn't work the same way as FTP did' and it gets old trying to explain this over and over again.
Do you control the trigger to start sftp? IOW, can you send an email or provide a script that uses the extended server syntax
sftp jchimene at example.co:/tmp
Connected to example.co.
Changing to: /tmp
sftp>
More information about the Info-vax
mailing list