AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UrlDownloadToFile

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Loriss



Joined: 26 Jul 2004
Posts: 64

PostPosted: Sat Sep 29, 2007 2:29 pm    Post subject: UrlDownloadToFile Reply with quote

UrlDonloadToFile work only for standart url, like http://www.autohotkey.com/

For some Url like this: http://web.tiscali.it/paologweb/ ,
or : http://enripamo.interfree.it/
UrlDonloadToFile do not work. It give error.
(Url like this are personal space web given from providers ADSL/internet ).

Problably is not a bug , but is better that work even whit
non standart url.
_________________
Loriss
Back to top
View user's profile Send private message AIM Address
JambaFun



Joined: 17 May 2007
Posts: 7

PostPosted: Wed Oct 03, 2007 8:42 pm    Post subject: Reply with quote

It works just fine.

Maybe it doesn't return what you would expect it to, but that's because of the redirects that the web hotel do, not what UrlDownloadToFile does.

test.ahk:
Code:
UrlDownloadToFile, http://web.tiscali.it/paologweb/, one.txt
UrlDownloadToFile, http://enripamo.interfree.it/, two.txt
Back to top
View user's profile Send private message
Loriss



Joined: 26 Jul 2004
Posts: 64

PostPosted: Thu Oct 04, 2007 9:02 am    Post subject: Reply with quote

One.txt , downloaded is a generic file created when even it is noting on te url.

Now i have put on these url the file "test.txt" (only 78 byte) .

If I use:
UrlDownloadToFile, http://web.tiscali.it/paologweb/,test.txt
my pc create a file "test.txt" of 2.36 Kb same of ONE txt.
For me Do not work .

Instead if you try the olfen example whit libcurl:
http://www.autohotkey.com/forum/topic22621.html
It work well.
_________________
Loriss
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group