PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Download de arquivo de um site
Download de arquivo de um site
Started by Boller, Apr., 06 2022 4:02 PM - 1 reply
Connect yourself…
Boller
#1
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on April, 06 2022 - 4:02 PM
/
/
Exemplo de download de arquivo
If ffileexist
(
urlzip
) =
True
browserRunApp
(
urlzip
)
else
info
(
"arquivo nao encontrado"
)
end
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
Boller
#2
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on January, 15 2023 - 5:55 AM
iNomeImg
is Image
buf
MyBuffer2
is
Buffer
s
EndImagem
is string
c
MyResponse
is httpResponse
SOLICITACAO_HTTPis
HTTPRequest
SOLICITACAO_HTTP
..
URL
=
"http://crm.intellisys.com.br/IMG/Intellisys/Produtos/01.jpg"
SOLICITACAO_HTTP
..
Method
=
httpGet
SOLICITACAO_HTTP
..
ContentType
=
typeMimeJPEG
c
MyResponse
=
HTTPSend
(
SOLICITACAO_HTTP
)
Trace
(
"Status Code: "
+
c
MyResponse
..
StatusCode
)
IF
ErrorOccurred
THEN
Error
(
ErrorInfo
(
errFullDetails
)
)
ELSE
Trace
(
"Conteudo: "
+
c
MyResponse
..
Content
)
buf
MyBuffer2
=
c
MyResponse
..
Content
END
IMG_
transicao
=
dLoadImage
(
buf
MyBuffer2
)
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text