Does anyone know the simplest way to append to a dataset using WinSCP SFTP and CoZ?
It looks like append is now supported by WinSCP -
http://winscp.net/eng/docs/script_commands
Thanks
SFTP Append to Z/os Dataset using WinSCP
There are a couple of issues.
1) It is not clear to me how winscp is implementing "append". OpenSSH does not support the SSH2_FXF_APPEND flag on open, and Co:Z SFTP is based on OpenSSH 5.0p1.
2) You can append to a dataset with Co:Z SFTP if you set the "disp=mod" setting:
ls /+disp=mod
the problem with Winscp is that it uses more than one SFTP session, and although you can set a setting by nagivating to the "/+" directory and renaming the "newsetting" file to "disp=mod", this setting won't apply to the session that WinSCP uses to do the actual transfer. We have pleaded with the developer to change WinSCP so that you can configure it to use only one session, but these requests have not been accepted.
1) It is not clear to me how winscp is implementing "append". OpenSSH does not support the SSH2_FXF_APPEND flag on open, and Co:Z SFTP is based on OpenSSH 5.0p1.
2) You can append to a dataset with Co:Z SFTP if you set the "disp=mod" setting:
ls /+disp=mod
the problem with Winscp is that it uses more than one SFTP session, and although you can set a setting by nagivating to the "/+" directory and renaming the "newsetting" file to "disp=mod", this setting won't apply to the session that WinSCP uses to do the actual transfer. We have pleaded with the developer to change WinSCP so that you can configure it to use only one session, but these requests have not been accepted.