tags:

views:

7

answers:

0

Hi, sorry i'm very new.

I would like to write a application with a button. This button once click it will use "HTTP GET" through TCP to get a file and it need to AUTO save file as "DateLog.txt" and save to desktop.

When i tested using Send HTTP GET Tool the response headers is:

Content-type:        application/x-download
Content-Disposition: attachment;filename=Log.txt

When i tested the URL i have used the web browser it will ask to save file to where.

Could any one help me please?

Thank you