Showing results for 
Search instead for 
Did you mean: 

Getting .txt File from a WebSite

Former Member
0 Kudos

Hi All,

I have searched in forum i did't find any blogs to get the .txt files( Not XML files) from Website,kindly share any sugission on this.

i have gone through below links but those are XML files.

Link1 --> Exchange rates from an XML file on a webpage

Link2 --> How to get XML file from a webpage without a Own Development in SAP PI


Kiran Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Participant
0 Kudos

Hi Kiran

This requirement can be achived by writing as small UDF which will connect to the website, read the file and finally write it to the desired location.

You can find the code on various websites if you search it  on google with keywords

"download a file from website using java"

Note that the code will vary if you are connecting to HTTP and HTTPS websites also if you have to pass through a proxy server.

Give a try, let me know in case you need any help.