以文本方式查看主题 - Foxtable(狐表) (http://www.foxtable.com/bbs/index.asp) -- 专家坐堂 (http://www.foxtable.com/bbs/list.asp?boardid=2) ---- [求助]FTP XML文件读取求助 (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=132765) |
||||
-- 作者:fanllys668 -- 发布时间:2019/3/29 11:59:00 -- [求助]FTP XML文件读取求助 甜老师!请教一下,FTP 里面的XML文件可以直接读取吗,还是一定要下载到地本地后再读取,XML文件如下 <?xml version="1.0" encoding="UTF-8"?> -<trx> <trx_name>HFT_Workorder</trx_name> <type_id>I</type_id> <factoryname>HFT</factoryname> <workorder>4600023721</workorder> <wotype>PP</wotype> <status>REL</status> <productid>12T2151B011006</productid> <modelname>ST2151B01-1</modelname> <orderqty>130000</orderqty> <grade/> <planreleasedtime/> <planfinishedtime/> <releasetime>2018-01-29 16:25:52</releasetime> <creator>ERP</creator> <creationtime>2018-01-29 16:25:52</creationtime> <comment/> <remark/> </trx> |
||||
-- 作者:有点甜 -- 发布时间:2019/3/29 12:43:00 --
需要下载下来,才能读取的。
下载,参考
http://www.foxtable.com/webhelp/scr/1402.htm
http://www.foxtable.com/webhelp/scr/1410.htm
|
||||
-- 作者:fanllys668 -- 发布时间:2019/3/29 17:52:00 -- [求助]多层结构XML要怎么解析出来 甜老师!这种多层结构的可以指教一下吗,总是套不出来
[此贴子已经被作者于2019/3/29 17:53:24编辑过]
|
||||
-- 作者:有点甜 -- 发布时间:2019/3/29 20:00:00 -- 参考代码
Dim txt As String = FileSys.ReadAllText("C:\\Users\\dv rrxaI600 007\\Downloads\\ship_sa0600231820500011\\ship_sa0600231820500011.xml", Encoding.default) |