Developer Forum [ All Topics | New Topic ]

Thread: Dowload

When using

PriceSheetURL = "http://technet.rapaport.com/HTTP/Prices/CSV2_Round.aspx"
 PriceSheetURL = PriceSheetURL & "?ticket=" & AuthenticationTicket

for downloading the Rounds into CSV format

PriceSheetURL = "http://technet.rapaport.com/HTTP/RapLink/download.aspx?SortBy=Owner&White=1&Fancy=1&Programmatically=yes&Version=1.0"
PriceSheetURL = PriceSheetURL & "?ticket=" & AuthenticationTicket

However it wont work.

Pls help



>> add a comment
Using Code as generated though download
09/23/2011 10:42


1 Replies:

Hi,

I don't know what error you got, but from the code you posted it looks like you have a string formatting problem. Since the second URL already has parameters, you should add the extra ticket parameters with an ampersend (&) and not a questionmark (?) which is only for the first parameter.

so it should be like this:

DownloadURL = "http://technet.rapaport.com/HTTP/RapLink/download.aspx?SortBy=Owner&White=1&Fancy=1&Programmatically=yes&Version=1.0"
DownloadURL  = DownloadURL & "&ticket=" & AuthenticationTicket

Regards,

Leo



>> add a comment
Leo Muller
9/25/2011 12:10:00 AM