# FTP - EDI docs to TN - content type problem

**URL:** <https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [October 9, 2006, 11:17pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073 "2006-10-09T23:17:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikael.lennehag.94406](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mikael.lennehag.94406](https://techcommunity.softwareag.com/u/mikael.lennehag.94406)\
**Post date:** [October 9, 2006, 11:17pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073/1 "2006-10-09T23:17:06Z")

</div>

Hi!

I’m trying to send EDI documents to TN using the FTP protocol. TN receives the file but does not recognize it as an EDI file. The transaction is logged as a flat file (ffile - the EDI “string” is visible in the transaction log). If I send the exact same information using the EDI tool (from the administrator) the transaction is recognized properly (EDI envelope plus the interchange document etc).

I assume this has something to do with the content type, but I’m not sure how I can change that in an FTP client. Is there any other way I could make it work? Configuration etc…

Thanks,  
// Mikael

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [October 9, 2006, 11:28pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073/2 "2006-10-09T23:28:22Z")

</div>

Search for ftp client content type in the forums.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [October 9, 2006, 11:37pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073/3 "2006-10-09T23:37:44Z")

</div>

Check out the EDI Module User’s Guide, which has a section on submitting documents to TN by FTP. Basically you set your path to the location of the wm.tn:receive service (\ns\wm\tn\receive) and set the content-type in the file name (x12\_850;application:EDIstream, for example). HTH,

Tim

---

<div class="post-metadata">

**Author:** ![mikael.lennehag.94406](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mikael.lennehag.94406](https://techcommunity.softwareag.com/u/mikael.lennehag.94406)\
**Post date:** [October 11, 2006, 5:02pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073/4 "2006-10-11T17:02:34Z")

</div>

Thanks! That was easy once you know how to. 🙂

// Mikael

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/ftp-edi-docs-to-tn-content-type-problem/109073/5 "2021-04-02T15:05:31Z")

</div>

Closed on April 2, 2021, 3:05pm UTC


