curl ftp and text format between unix and mainframe -


am transferring file unix mainframe using curl , ftp --ssl-reqd.

file needs formatted mainframe dataset.

ftp in shell worked fine using quote site blksize=0 lrecl=80.

without file not formatted of course. how handle using curl? not seeing commands similar blksize , lrecl available when using curl.

thank you.

i think -q option you're looking for:

curl -q 'site blksize=0 lrecl=80' ... 

Comments