PDA

View Full Version : qnnetworkaccessmanager



tpthyd
2nd March 2009, 11:39
hi,
i have to download files from server. for this i used example code in qt examples. but error is coming as " unknown protocol:
can anyone tell me the reason so that i'll be thankful to you.

Thanks in advance

talk2amulya
2nd March 2009, 13:44
how would anyone know what your problem is until you post your code :) qt examples work well, u must have made some edit

tpthyd
3rd March 2009, 05:51
hi,

i have used same as it is in examples.here i am sendind same. please check it with u rown exaples. if works, send me that urls

talk2amulya
3rd March 2009, 08:37
what arguments did u pass?

talk2amulya
3rd March 2009, 08:43
its all working fine at my end. u must haven't provided the right protocol hence u r getting that error. make sure u are prepending every url with a "http://"

tpthyd
3rd March 2009, 14:07
could u please try this one. i am not able to download below one.


http://dd.weatheroffice.ec.gc.ca/grib/public/lores/CMC_reg_00/CMC_reg_ABSV_ISBL_500_ps60km_2009030300_P006.grib

tpthyd
4th March 2009, 04:57
please help me anyone who knows this problem. i want to download files from above link.

talk2amulya
4th March 2009, 05:57
i have tried opening the link u mentioned in the browser and it doesn't open with the error "File Not Fount" which means the file doesnt exist so how can u download it...

tpthyd
4th March 2009, 07:12
actually files are are always updated in that server.
if u don't mind, could u plz check below link.
[URL="http://dd.weatheroffice.ec.gc.ca/grib/public/lores/CMC_reg_00/CMC_reg_ABSV_ISBL_700_ps60km_2009030400_P000.grib"]

talk2amulya
4th March 2009, 08:29
it downloaded fine, i used this on the command line:


downloadmanager.exe "http://dd.weatheroffice.ec.gc.ca/grib/public/lores/CMC_reg_00/CMC_reg_ABSV_ISBL_700_ps60km_2009030400_P000.grib"

maybe u were not putting the url inside ""?

tpthyd
4th March 2009, 09:00
i am able to download files from some servers with out putting url between " ..."and for this url , which i have given it is showing "HTTP request failed" even though i put it in "..". is there any difference betweeen with and without ".."

tpthyd
4th March 2009, 09:11
if suppose server has SSL communication. then how can i download files from that server?