I'm trying to execute an FTP PUT command via a Windows PC to AS/400, but it isn't functioning correctly. This is the command (running as a batch file) I am running. Could anyone explain why its not working right?
quote RCMD CRTLIB LIB(TESTXA) TEXT('TESTXA Java Application Source') //Successfully creates TESTXA library
quote RCMD CRTSRCPF FILE(TESTXA/QJAVASRC) RCDLEN(200) TEXT('Java Source File') //Successfully creates source file QJAVASRC under TESTXA library
put "D:SharedJavaTestClobTest.java" /QSYS.LIB/TESTXA.LIB/QJAVASRC.FILE/CLOBTEST.MBR // Generating error 'ftp: bind : can't assign requested '
quote RCMD CHGPFM FILE(TESTXA/QJAVASRC) MBR(CLOBTEST) SRCTYPE(JAVA) TEXT('ClobTest') // Not executing due to previous command error
December 31, 2013 3:11 PM
December 31, 2013 3:37 PM