[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ftp_put()



Ok, this is getting more and more strange.
But i fixed the problem :)
I just don't know why it didn't work.

This is what I had:

Program D99140CL:
Main CL job, that listens for a message in a messagequeue.
If a message is received the program runs and does a CALLPRC on

Program D99141CL:
This loops through a file with ftp configurations, 
e.g. server/user/pass/directory/what filepattern to download/to which 
physical file on the as400
this program then CALLs

Program D99143:
The RPG Program that uses the ftpapi to connect to the server and 
downloads the stuff given in the config file above.

When D99143 ends, D99141CL reads the next configuration record and so 
forth.



The problem now was, that D99141CL was CALLPRCed from the main job 
D99140CL.
I changed that line to a regular CALL and made an own *PGM for the 
D99141CL module and now it works.
Beats me...

But since it works now, the weekend can come :)

- Martin




-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------