开发者

Uploading files to mainframe from VB.net

I am uploading file to mainframe and before uploading when I open it using notepad I am able to view it.

Once uploaded the administrator is complaining that he is not able to read the data in file and it appears as junk.

Is there anything else I need to do before uploading files to mainframes. I am using Chilkat component to upload the files to 开发者_如何学Gomainframes.

Any help greatly appreciated.

Thanks


It definitely sounds like an encoding issue. I had some files transferred from a mainframe earlier this morning that because I forgot to switch to ASCII were all rubbish.

Try switching to ASCII and transferring it, if you are using ASCII, switch to binary.

You also might check with the mainframe admin and ask him if there are any site commands you need to execute prior to sending so you set the record size and block type.


This sounds like an encoding issue. For example, you file maybe in ASCII and your mainframe is expecting something else. Hence, junk would be displayed on the other end.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜