Opened 17 years ago

Last modified 11 years ago

#2771 closed Feature request

Preset commands to tackle codepage problem

Reported by: huzeh00 Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: huzeh00, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

With the current filezilla version 3.0.2.1 I get data corruption when
transfering files to MVS datasets since I cannot specify the desired codepage
translation (as far as I know).
This problem can be solved by implementing a generic possibility to send
preset commands to the server after the initial
connection setup.

Our mainframe consists of two worlds:

  • plain old MVS, with ebcdic-codepage IBM-037 as the standard
  • USS (unix system services) with ebcdic-codepage IBM-1047 as the standard

The MVS FTP server is configured for using IBM-1047 as the default. This means
filetransfers to MVS-datasets suffer from datacorruption due to the
codepage translation to 1047 in stead of 037.

The MVS FTP server however supports quite a large number of additional commands,
like:

site TRAck
site RECfm=FB
site LRECL=80
site PRImary=5
site SECondary=5
site BLKsize=6233
site Directory=50
site sbd=(IBM-037,ISO8859-1)

These are meant for setting parameters for allocations on MVS datasets, and
-the last one- for specifying the desired codepage translation.
Note that on the FTP session each 'site' command needs to be preceeded by
the client command 'quote'.

It would be great if it were possible to specify per site a list of
commands that will be sent to the FTP server immediately after a
successful connection setup.

We then would be able to setup a profile for the MVS-host and one for the
MVS-USS-host and specify the desired codepage translation for each of them.

Such a generic feature might be helpfull for solving similar problems with other (non MVS) FTP-servers.

Of course I would be happy to help testing such a feature.

The remainder is a trace of an FTP session to our MVS server, just for illustration.

Connected to OLOMVS1.OLO.NL.
220-FTPD1 IBM FTP CS V1R8 at OLOMVS1, 15:11:48 on 2007-11-09.
220-*
220-* Welcome to the OLO1 FTP server *
220-
*
220 Connection will close if idle for more than 50 minutes.
---> USER HVERB00
331 Send password please.
---> PASS
230 HVERB00 is logged on. Working directory is "O61G098.".
---> site TRAck
200 SITE command was accepted
---> site RECfm=FB
200 SITE command was accepted
---> site LRECL=80
200-BLOCKSIZE must be a multiple of LRECL for RECFM FB
200-BLOCKSIZE being set to 4080
200 SITE command was accepted
---> site PRImary=5
200 SITE command was accepted
---> site SECondary=5
200 SITE command was accepted
---> site BLKsize=6233
200-BLOCKSIZE must be a multiple of LRECL for RECFM FB
200-BLOCKSIZE being set to 6160
200 SITE command was accepted
---> site Directory=50
200 SITE command was accepted
---> site sbd=(IBM-037,ISO8859-1)
200 SITE command was accepted

Change History (1)

comment:1 by Tim Kosse, 17 years ago

This has already been implemented, though it lacks an interface. Please read http://filezilla.sourceforge.net/forum/viewtopic.php?p=12410#12410

Note: See TracTickets for help on using tickets.