FTP PUT problems in Windows PC to AS/400

343740 pts.
Tags:
AS/400
FTP
PUT commmand
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?
open ipAddress
Kishore  //user
pwd      //password

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

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta

    // Generating error 'ftp: bind : can't assign requested '

    The error message appears to be truncated. Can you show the full text?

    Without error details, first thing I'd try is to set the connection to passive mode. Add [ quote pasv ] after sending the password to see if the error changes or goes away.

    Tom

    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following