login about faq

I am trying to download using the Chilkat.Http.Download method.

I am connecting over a socks 5 proxy.

All works well for static download links; eg http://A.com/b.zip

But for downloads such as https://mail.google.com/mail/u/0/?ui=2&ik=77645ce84f&view=att&th=0382302424&attid=0.1&disp=safe&zw etc..

I have no idea how to make it work?

Any help much appreciated.

asked Sep 29 '12 at 23:04

vivoid's gravatar image


Does the "indirect link" work when not using a SOCKS proxy?


answered Oct 01 '12 at 08:59

chilkat's gravatar image

chilkat ♦♦

It does not work with or without socks soI do not believe the SOCKS proxy is the issue - it is how to handle HTTP downloads where the link is not an absolute URI?


answered Oct 01 '12 at 16:22

vivoid's gravatar image


Please post the contents of the LastErrorText property captured after calling Download.


answered Oct 01 '12 at 17:27

chilkat's gravatar image

chilkat ♦♦

There is no error as such - the problem is that I do not know how to determine the filename for certain sites.

For example gmail attachments with urls like;

http://mail-attachment.googleusercontent.com/attachment/u/0/?u =2&ik=77645ce84f&view=att&th=13a4b30c3da53227&attid=0.1&disp=safe&zw&authuser=0 sadnir=2&saduie=XXX-zC6bYdDE&sadet=1350182800493&sads=AB2GxxVtB0H

The file will download if I provide an arbitrary file name, but I am unsure how to get the correct filename and extension.

(Oct 13 '12 at 23:43) vivoid
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 29 '12 at 23:04

Seen: 4,402 times

Last updated: Oct 13 '12 at 23:43

powered by OSQA