• Post Reply Bookmark Topic Watch Topic
  • New Topic

FTP From PC to MainFrame OS390  RSS feed

 
Santh Narayanan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is the FTP script to transfer data from PC to MVS using DOS command line.
tp 207.87.110.51
<acf2 id>
<acf2 psw>
quote site lrecl=xxxxx blksize=yyyyy recfm=fb
quote site cyl pri=zzz
put <state file> 'nba.prods.pr.rsf01(+1)'
..
put...
quit
Can anybody help me with this; I was wondering if i can accomplish this by using FTP from java.
Thanks in advance
-santh
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you certainly could, but given that this seems to be a fairly special-purpose application, you might consider just executing the script using Runtime.exec().
Otherwise, there are a number of open-source Java FTP libraries available; you might search in this forum for "FTP" to find previous recommendations, because this topic comes up all the time.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!