Home | Advertising Info148 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, April 19, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Interpreting a text/plain response?
From: Mike Taylor
Date: 12/2/1999 6:52:53 AM
IP: 62.188.131.241



 

I am developing an ASP-based shopping basket system in conjunction with a
multi-currency WorldPay account. WorldPay provide access to selected
exchange rates updated every 24 hours. They say I should "make a call" to
the file https://**domain**/wcc/info?op=rates&instId=XXXX which, when you
enter the full URL in a browser, produces the following output. Apparently,
this file is returned as content-type text/plain, and is a standard Java
properties file format.

#Exchange rates for installation 4598
#Thu Jul 08 17:21:45 GMT 1999
DEM_CHF=0.8293301380534893
DEM_NLG=1.1267390120015601
DEM_DEM=1.0
DEM_CAD=0.7811273640705966
DEM_BEF=20.625463396943164
rateDateMillis=931454505167
DEM_FRF=3.353854814359919
DEM_GBP=0.3364112383046616

I want to be able to access the contents of this file in an ASP script, so
that I can strip the exchange rates out and convert sterling prices from my
database into the appropriate currency on the shopping pages. However, I
cant find a way to read this file. I have tried using TextStream, but the
file needs to on the local server.

How can I read this file line by line?

Mike Taylor
Website Designer
Plusfile Options
www.plusfile.co.uk/options

Follow Up - Re: Interpreting a text/plain response? - Chris Williams 12/2/1999 7:20:02 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com