Downloading from .aspx/~ relative urls

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Jeremy_R
Posts: 7
Joined: Mon Jul 16, 2007 3:37 pm
Contact:

Downloading from .aspx/~ relative urls

Post by Jeremy_R » Sat Mar 22, 2014 5:55 am

I'm struggling to find out how to download files ( pdfs and docs ) from urls that use the asp relative path ( tilde ). I'm not at all familiar with asp though what I did find suggests it should convert to the absolute path server side.

While I can do a straight up "launch url blah.aspx/~/blah.pdf" and have the file download when I try "put url" or libUrlDownloadToFile to download directly it returns "bad request". The app is designed for Android and I wish to have the pdf opened seamlessly. I'm unable to use the googledocs hack as suggested on this forum due to my client.

Has anyone come across this issue before? One idea was to get the absolute path to use for downloading, is that somehow possible?

Cheers!

Post Reply