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

Re: Host not found (fwd)



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


I am working on a project that interfaces with another system using Web Services. I'm currently trying your examples. In Example9 (and other examples) I am getting RC back as -1. the error is "host not found"

Maybe you don't have DNS set up on your iSeries. If you type PING RMTSYS('www.scottklement.com')

Does it give you an IP address, or does it say that "Unknown host"?


Example 9 does do what I expect. It downloads the PDF into the AS/400 tmp directory - everything is ok, but still the -'ve return code...

?! If it's failing to look up the host, how could it possibly be downloading the file! It doesn't even have an IP address to connect to... this shouldn't be possible.


Are you sure you didn't already have the file in that directory? Or, maybe it's creating an empty file to download the data into, but then fails, and the file remains there?

Any ideas on why this happens? Perhaps there is a timeout value somewhere that needs to be changed?

Can you tell me how to reproduce the problem? ----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------