# FTP server with "structure record" support

**URL:** <https://forums.suse.com/t/ftp-server-with-structure-record-support/26453>\
**Category:** SLES Networking\
**Created:** [December 4, 2014, 9:35am UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453 "2014-12-04T09:35:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgriemer1](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jgriemer1](https://forums.suse.com/u/jgriemer1)\
**Post date:** [December 4, 2014, 9:35am UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/1 "2014-12-04T09:35:19Z")

</div>

I’m deploying SLES in an IBM System Z environment, and need a Linux FTP server which incorporates “structure record” (as opposed to “structure file”, which is the typical default) support in order to facilitate transfers between z/OS and/or z/VM. I already use such a server in Windows, but the vendor does not offer a Unix variant. Googles haven’t turned up anything definitive. Advice, anyone? Thanks.

---

<div class="post-metadata">

**Author:** ![dpartrid](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dpartrid](https://forums.suse.com/u/dpartrid)\
**Post date:** [December 4, 2014, 9:46pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/2 "2014-12-04T21:46:57Z")

</div>

My answer is next to useless… but I’m just confirming what you may already have found: The 2 FTP servers which are distributed with SLES (pure-ftpd and vsftpd) do not support record structure. Whether any FTP server does, on Linux, I’m not sure.

---

<div class="post-metadata">

**Author:** ![jgriemer1](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jgriemer1](https://forums.suse.com/u/jgriemer1)\
**Post date:** [December 4, 2014, 10:55pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/3 "2014-12-04T22:55:40Z")

</div>

Thanks dpartrid, the confirmation is appreciated. I’m having a verbal skirmish with IBM who doesn’t yet appear to understand the situation.

---

<div class="post-metadata">

**Author:** ![x0500hl](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@x0500hl](https://forums.suse.com/u/x0500hl)\
**Post date:** [December 8, 2014, 8:54pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/4 "2014-12-08T20:54:38Z")

</div>

Maybe I am missing something but I am running SLES 11 SP3 servers on System z and they all have vsftp installed and configured. I can initiate FTP’s from z/OS or z/VM to Linux and from Linux to z/OS and z/VM. This thread is the first I remember seeing regarding “a Linux FTP server which incorporates “structure record” (as opposed to “structure file”, which is the typical default)”.

---

<div class="post-metadata">

**Author:** ![jgriemer1](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jgriemer1](https://forums.suse.com/u/jgriemer1)\
**Post date:** [December 8, 2014, 10:10pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/5 "2014-12-08T22:10:01Z")

</div>

The issue appears at the “native” level e.g. when manipulating z/OS datasets outside of the USS environment. “Structure record” was created for this purpose. In my particular instance, I’m transferring z/OS DF/DSS dump datasets to portable media in the Unix environment for offsiting purposes. Without structure record, if such a dataset is transferred back from the portable media as part of a data recovery/restoration operation, DF/DSS does not recognize it.

---

<div class="post-metadata">

**Author:** ![x0500hl](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@x0500hl](https://forums.suse.com/u/x0500hl)\
**Post date:** [December 10, 2014, 4:49pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/6 "2014-12-10T16:49:29Z")

</div>

Ok, I now understand what you’re doing. I’ve had similar issues with DF/DSS not recognizing its datasets when FTPing between z/OS systems.

I did some Google searches and found a workaround but be advised that I haven’t tested it. The workaround is to use the TERSE program (PGM=TRSMAIN,PARM=PACK) to compress the DFDSS file(s) on z/OS prior to FTPing it to \*nix. When the file is needed on z/OS, FTP it back and then run the UNTERSE program (PGM=TRSUNPCK,PARM=UNPACK).

---

<div class="post-metadata">

**Author:** ![jgriemer1](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jgriemer1](https://forums.suse.com/u/jgriemer1)\
**Post date:** [December 10, 2014, 8:27pm UTC](https://forums.suse.com/t/ftp-server-with-structure-record-support/26453/7 "2014-12-10T20:27:24Z")

</div>

Thanks. I am aware of the terse/unterse alternative; unfortunately, it adds considerably to both the overall duration and CPU resource consumption of the backup process. However, I may have to contemplate it further.
