| |
|
|
- Page 1 - |
|
Georg Hovenbitzer | Hello together,
in my Program ziehe I me Files by HTML down, To dato have I it always with the URLMON.DLL made: UrlDownLoad(0,@Addr(GetPfad$),@Addr(SaveDatei$),0,0) this reichte me completely from, only place I in momentum solid, that it left gives where following Error comes: -2147221020 The address of this site is hardship valid. Check the address and try again.
Z.B. with: link illegally and removes
with the download.pcu of If and by Browser works the Download
Since I the program but gladly with Profan2CPP translate would like, is the PCU no Solution for me.
has someone a hint Why it lying can and there yet others Opportunities for Download. alas Yes, with DoFileDownload from the shdocvw.dll have I it too attempts, lead but XP to a Rechteproblem. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
Georg Hovenbitzer | I have time one demonstration built: CompileMarkSeparationDeclare Get$
Declare Put$
Declare Error&
Get$ = --- kommt ein neuer, damit es keine Ärger gibt ---
Put$ = "D:\Test1.txt"
Error& = @External("urlmon.dll","URLDownloadToFileA",0,@Addr(Get$),@Addr(Put$),0,0)
Print Error&
WaitInput
Get$ = "https://www.google.de/intl/de_de/images/logo.gif"
Put$ = "D:\Test2.txt"
Error& = @External("urlmon.dll","URLDownloadToFileA",0,@Addr(Get$),@Addr(Put$),0,0)
Print Error&
WaitInput
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ | |
|
|
|
|
| now In any drop see I do not the You whom cache leerst to the Download. |
|
|
| |
|
|
|
| Habs strain time rausgesucht: CompileMarkSeparation i'm me on attempt neither sure whether urldownloadtofile it likes if get$ existing. |
|
|
| |
|
|
|
Georg Hovenbitzer | Hi iF,
what has the cache so To do
The Error code is Yes -2147221020, The address of this site is hardship valid. Check the address and try again, hears itself to one Linkfehler on, this works means. therefore The question whether it transformed go must ?! |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|
|
Georg Hovenbitzer | thanks iF,
goes but unfortunately neither to the Delete the Cachs, same Error.
the must still weg, I have Internet too nothing found what against it speaks. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|
|
| [quote:8eeb58dfe0]what has the cache so To do gruebel [/quote:8eeb58dfe0] Urldownloadtofile läd only if the File not already in the cache lying.
thatswhy entleere first whom cache and look whether The Fehlernummer same remaining.
to conversion: You can The URL transfiguring because You The Hexcodes the Chars in the string led of a Prozentzeichen one after another write. with this sonderzeichen in your Url would the too recommendable.
from the Freizeichen becomes then z.B. %20, and from the grossen A one %41 etc.etc... |
|
|
| |
|
|
|
Georg Hovenbitzer | Hello iF,
cache Delete installed and time with the conversion probiert, but unfortunately goes it still not.
but, if one whom code with Profan2CPP Translated works everything means sooner one Profan internes trouble.
witty is, if one How I it must, into Cpp code The of Sebastian pretended Define Entries power, works it with the first File not any more, but with the second.
Profan and Profan2CPP having then The equal Problems with the equal Fehlernummer. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|
|
Clemens Meier | what me auffällt is, that The first URL space contains. one ought to fundamentally URLs, of them one not 100% knows, that they correctly are, by a Encode hunt, before one tappt im dunkeln using. enclosed two Procedures. The 1. kodiert whom way (way before from the Domain separate), The 2. is a Hilfsprozedur. try it means time so. CompileMarkSeparation
PROC URLPathEncode
Parameters string$
declare i&,char%,urlpathencode$
urlpathencode$ = string$
WhileLoop len(urlpathencode$),1,-1
char% = ord(mid$(urlpathencode$,&loop,1))
if ((char%>96) AND (char%<123))
elseif ((char%>47) AND (char%<58))
elseif ((char%>64) AND (char%<91))
elseif ((char%>44) AND (char%<48))
elseif (char% = 95)
elseif (char% = 126)
elseif (char% = 38)
elseif (char% = 58)
elseif (char% = 63)
elseif (char% = 64)
elseif (char% = 35)
elseif (char% = 33)
elseif (char% = 36)
elseif (char% = 42)
elseif (char% = 43)
else
if (&loop=1)
urlencode$ = "%" + hexx(char%) + mid$(urlencode$,&loop+1,len(urlencode$))
elseif (&loop=len(urlencode$))
urlencode$ = left$(urlencode$,&loop-1) + "%" + hexx(char%)
else
urlencode$ = left$(urlencode$,&loop-1) + "%" + hexx(char%) + mid$(urlencode$,&loop+1,len(urlencode$))
endif
endif
Wend
return urlpathencode$
ENDPROC
PROC hexx
Parameters zahl&
if (zahl&>15)
return hex$(zahl&)
else
return "0"+hex$(zahl&)
endif class=s4 href='./../../Function-References/XProfan/endproc/'>ENDPROC
P.s. i'm evident blind. where are there space. have still saponaceous The spots overlooking. nevertheless rewards it itself, Paths To code. of my Wissens to power this The urlmon namely not and with one Access to one ix-Server comes it To Fehlermeldungen. |
|
|
| |
|
|
|
Georg Hovenbitzer | Hello Clemens,
thanks for code (I had it radikaler made and everything transformed), but unfortunately there therefore no Veränderung. there it in the URL too no characters gives The transformed go müssten. i'd say, these a problem of Profan self, there it in CPP Translated Yes everything works. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|
|
| @Georg: but something other - the Torrentlink is illegally?!?! if so, entferne whom - too from the Source!
i will here no left To Things which lt. Terms of Use particularly prohibited are.
i want too no Discussion. If the Link legally is, then can You it naturally simply leave - but begründe short Why.
Thank you! |
|
|
| |
|
|
|
RGH | [quote:3398313431=Georg Hovenbitzer]i'd say, these a problem of Profan self, there it in CPP Translated Yes everything works.[/quote:3398313431] well hardly! by me runs your demonstration from the 2. mail unchanged completely fehlerfrei and loading both Files! (XProfan 10ß, 11. Subscriptionslieferung)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/24/06 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
Georg Hovenbitzer | @if: I have whom Link removes, having above not further thought, I only a long Link to that Test needed.
@Roland: Thanks you for Test, if it you possible is would it nice it with 9.1 time To try. I have time to that Test whom Verzeichnisbaum with big- and Kleinschreibung and the long Filenames on of my Domain nachgestellt, there works it then with the Download. in a Why this lying, How said in CPP Translated works it with all Servern. |
|
|
| Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a) | 05/24/06 ▲ |
|
|
|