Ftp file to mainframe server


















Catch Ex As Exception. End Try. End Sub. Code always helps bring the discussion forward. The problem you're running into is that you want to rename the file while moving it. This isn't a supported scenario; the connection takes an array of files to move from the local machine and a target folder path on the remote machine. You should rename the file locally first See here for an in-depth discussion and here for an alternative solution in case you have no alternative to renaming the files on the ftp server.

The content you requested has been removed. Ask a question. Quick access. Search related threads. Hi superk We have a exact similar requirement where we have to pull a directory listing from Secured File Server but the problem i am facing is the output file contains all the commands and other details then the File names are appended. Posted: Mon Mar 31, pm. Thank you for the help. View previous topic :: :: View next topic.

Similar Topics. Looking for experienced mainframe sys Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. FTP file to a mainframe server with some data using sun. FtpClient java Ask Question. Asked 4 years, 11 months ago. Active 4 years, 11 months ago. Viewed times. Is there any other way we can achieve it with out any file Thanks in advance. Improve this question.

Krishna Krishna 2 2 gold badges 7 7 silver badges 27 27 bronze badges. If you still have troubles with it after doing this, you can post using the Code tag your data in hex format so we can look at it and probably see the issue.

Hi Robert, Thanks for your valuable information. Initially the file is created in Linux server and moved to windows server. We put hex on, and found that X'25' in end of each line. Please help us. If not, try this: Code:. Posted: Thu Jul 21, am. Posted: Thu Jul 21, pm. Thanks all for your support.

Still the issue is reported. I have followed the above mentioned solution. You are still not using the code tags. Why should I not lock the topic? The error is saying that 'Data was truncated'. You need to talk to your site support group and get their assistance.



0コメント

  • 1000 / 1000