Quote Site Blocksize Declaration and other FTP Settings in FTPS or SFTP

Advertisement

SteveBobs
Guest

Quote Site Blocksize Declaration and other FTP Settings in FTPS or SFTP

I've been working on a project to convert old uploads from FTP to FTPS or SFTP.

I'm trying to replicate these commands:
quote site lr=# blocksi=# cy pri=# sec=# rec=XX ret=#

quote site filetype=jes

I've been looking into it for a while now and can't see of a way using SFTP or FTPS that will allow these commands or maybe I'm just not understanding the syntax.

Does anyone know how to replicate these commands in either SFTP or FTPS?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Quote Site Blocksize Declaration and other FTP Settings in FTPS or SFTP

Those are proprietary commands of your FTP server (some IBM mainframe?). In FTPS, you execute them the same way as in FTP. Though WinSCP equivalent for ftp.exe quote command is call:
https://winscp.net/eng/docs/guide_ftp_script_to_sftp#quote

For SFTP, I believe that IBM mainframes uses hacks with retrieving directory listing using a special syntax (in WinSCP you would use ls command).
See for example <invalid hyperlink removed by admin>
But I do not know details. You better contact a support of your mainframe server.

Reply with quote

Advertisement

You can post new topics in this forum