如何在debian linux中获取FTP传输的ISA06交换发件人ID

问题描述 投票:0回答:1

我已经跟踪了几天的面包屑痕迹了。我的公司需要一个简单的API / EDI,可以与许多不同的市场进行通信。其中一个要求我给他们ISA交换发件人ID甚至向他们的服务器发出FTP请求。这是一个页面的链接,列举了什么是ISA06,在x12 ANSI中。从网站复制和粘贴相关内容。

  The ISA Segment has the following structure
    ISA01 Authorization Information Qualifier : min/max – 2/2
    ISA02 Authorization Information : min/max – 10/10
    ISA03 Security Information Qualifier : min/max – 2/2
    ISA04 Security Information : min/max – 10/10
    ISA05 Interchange ID Qualifier : min/max – 2/2
    ISA06 Interchange Sender ID : min/max – 15/15
    ISA07 Interchange ID Qualifier : min/max – 2/2
    ISA08 Interchange Receiver ID : min/max – 15/15
    ISA09 Interchange Date : min/max – 6/6
    ISA10 Interchange Time : min/max – 4/4
    ISA11 Interchange Control Standards ID : min/max – 1/1
    ISA12 Interchange Control Version Number : min/max – 5/5
    ISA13 Interchange Control Number : min/max – 9/9
    ISA14 Acknowledgment Requested : min/max – 1/1
    ISA15 Test Indicator : min/max – 1/1
    ISA16 Subelement Separator : min/max – 1/1

链接到整个页面:http://edicrossroad.blogspot.com/2008/12/isa-and-gs-segment-elements-enumeration.html

我找不到有关如何以纯文本格式检查整个请求的任何信息。它需要是FTP,但即使是卷曲功能现在也很棒,让我走上正轨。常规的curl_getinfo函数没有详细介绍甚至提到ISA。

我确实看到了许多不同的专有解析器,你可以为它们购买许可证,但它对我们的需求来说太过分了(这只是为了通过FTP传输几个.csv文件来每天更新一次市场信息)

任何帮助将不胜感激。

linux curl ftp debian isa
1个回答
1
投票

我有EDI.Net(开源)和EdiFabric(闭源)的运气。两者都是用于生成和接收上述馈送的优秀库。对于手动工作,X12 Studio适合初学者,但我个人喜欢使用Sublime。

如果您正在寻找其他东西,以下是一系列工具:https://github.com/michaelachrisco/Electronic-Interchange-Github-Resources

© www.soinside.com 2019 - 2024. All rights reserved.