Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FTP a file from mainframe using JAVA

 
Radhika Alok
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All ,
Say I have a file file.txt on my mainframe host xxx.xxx.xxx.xx created by user QWERTY in the path TEST. I would like to ftp this file from mainframe to my unix machine. When I run the code

the error I get is "Path ftp://QWERTY@xxx.xxx.xxx.xx'TEST/file.txt' is a directory."

On giving



I get the error : File 'QWERTY.'/'TEST/file.txt does not exist. It appends the 'QWERTY.'/' on its own.

Any pointers on how to give this file path name ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic