FTP set codepage of source dataset

I have a file on Suse Linux which is created in codepage 420. I need to FTP this file to a remote server with codepage 1256.

How do I specify in FTP that the source codepage is 420 instead of the Linux default? Is this possible with curl or any other ftp client on Linux. I don't see a paramater in FTP to specify a source codepage.

"codepage" in Linux? How is that ancient DOS thing related to "locale"?
But I have a general hint.
In ftp, the ascii command turns on conversion to the local character set.

The input file is not in the locale charset, it is created as CCSID 420, setting ASCII in ftp will merely use the default locale as the input which will be incorrect. I need to explicitly set the input locale. WIll seting LC_ALL do this?