How to make "CALL" work properly for FTP/S connection
Greetings!
I have configured WinSCP to connect to an FTP/S server using explicitSSL. I am connecting to an IBM MVS server to upload a small set of data, and then exit. No external or secondary processing. The connect works fine.
Before "PUT"ting the file, I need to issue a "QUOTE SITE" command, and it appears the intended protocol for WinSCP is to use the CALL statement in a script to accomplish it. Each time, however, the CALL fails. I've tried:
CALL "SITE RECFM=FB LRECL=114 CYL"
CALL "RECFM=FB LRECL=114 CYL"
and neither has worked. (Over the course of today, I've tried somewhere between six and 42 billion combinations of this, and nothing's come close). I've even tried just doing a direct QUOTE SITE command, which errors out as an invalid command. I'm obviously having a brain cramp and not understanding what I'm doing wrong.
In order to use WinSCP for this particular project (migrating an existing/working FTP transfer process that uses these existing commands), I *have* to figure out what I'm doing wrong, or if perhaps what I am attempting just isn't supported under FTP/S in WinSCP.
Are remote commands simply not supported in this scenario? Or am I just missing something really, really obvious?
Many thanks,
SoonerDave
I have configured WinSCP to connect to an FTP/S server using explicitSSL. I am connecting to an IBM MVS server to upload a small set of data, and then exit. No external or secondary processing. The connect works fine.
Before "PUT"ting the file, I need to issue a "QUOTE SITE" command, and it appears the intended protocol for WinSCP is to use the CALL statement in a script to accomplish it. Each time, however, the CALL fails. I've tried:
CALL "SITE RECFM=FB LRECL=114 CYL"
CALL "RECFM=FB LRECL=114 CYL"
and neither has worked. (Over the course of today, I've tried somewhere between six and 42 billion combinations of this, and nothing's come close). I've even tried just doing a direct QUOTE SITE command, which errors out as an invalid command. I'm obviously having a brain cramp and not understanding what I'm doing wrong.
In order to use WinSCP for this particular project (migrating an existing/working FTP transfer process that uses these existing commands), I *have* to figure out what I'm doing wrong, or if perhaps what I am attempting just isn't supported under FTP/S in WinSCP.
Are remote commands simply not supported in this scenario? Or am I just missing something really, really obvious?
Many thanks,
SoonerDave