|
Hi Rajesh, try replacing "/test" with "." Then the program will try to place the zip file in the current directory. Have you tried running your java program from you local pc? Rgds, Magne Hi Magne, I tried pinging to 'www.fsa.gov.uk' and I got unknown host error. However, I changed the pgm a little bit so that I connect to this website using proxy server. On this occasion I got the following error.... COMMAND.... java -Djava.version=1.2 -classpath .:/test/jt400.jar Fsa http://www.fsa.gov.uk/pubs/discussion/fs0401/FSAMarketsFeed- v1-0.zip /test FSAMarketsFeed-v1-0.jar ERROR.... java.io.FileNotFoundException: http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed- v1-0.zip Any ideas? Thanks in advance. rgds, Rajesh Anand Email:Rajesh_anand@xxxxxx -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Magne Kofoed Sent: 15 December 2004 17:00 To: Java Programming on and around the iSeries / AS400 Subject: RE: Sending XML using HTTp server from as400 Hi Rajesh, the URLReader program works on my iSeries. Try iSeries cmd: ping 'www.fsa.gov.uk' If you don't get a ping answer, then your iSeries have no access to the internet. If so, open for outgoing web traffic from your iSeries through firewalls. java -Djava.version=1.4 URLReader http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed- v1-0.zip . fsafeed.zip Destination: . $ Rgds, Magne Date: Wed, 15 Dec 2004 14:09:36 -0000 From: "Anand, Rajesh" <Rajesh_Anand@xxxxxx> Add To Address Book Subject: RE: Sending XML using HTTp server from as400 To: "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx> I tried your program but I got the following error. java.net.UnknownHostException: www.fsa.gov.uk This is the command that I ran... java -Djava.version=1.2 -classpath .:/java/jt400.jar Fsa http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed- v1-0.zip /test fsafeed.jar Any ideas??? rgds, Rajesh Anand Email:Rajesh_anand@xxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.