[Info-vax] Force SFTP to run LOGIN.COM or equivalent
Michael Moroney
moroney at world.std.spaamtrap.com
Thu Feb 10 18:03:45 EST 2022
On 2/10/2022 7:22 AM, Kenneth Randell wrote:
> On Wednesday, February 9, 2022 at 9:25:59 PM UTC-5, VAXman- wrote:
>> Why would you want the SYLOGIN.COM or LOGIN.COM to be executed? SFTP is NOT
>> an interactive session, it's a file transfer function. The only commands it
>> can or will recognize are the SFTP commands; there's no DCL.
>>
>> --
>> VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
>>
>> I speak to machines with the voice of humanity.
>
> 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.
I can see a need, such as when the user has some $ DEFINE commands in
login.com to create names for directory trees they may wish to access.
More information about the Info-vax
mailing list