GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Upload control isn't working - Webdev 24
Upload control isn't working - Webdev 24
Iniciado por Diogo, abr., 21 2021 5:56 PM - 3 respostas
Conecte-se…
Diogo
#1
Publicado em abril, 21 2021 - 5:56 PM
FOR i
=
1
_TO_
MySelf
..
Occurrence
s
FileName
=
UploadFileName
(
MySelf
,
False
)
s
FilePath
=
fWebDir
(
) +
"\imageCache"
IF
UploadCopyFile
(
MySelf
,
s
FilePath
,
s
FileName
) =
""
THEN
ErrorInfo
(
errFullDetails
)
//Error("Erro ao carregar a imagem.")
END
END
This code it´s inside an upload control "Receiving the files uploaded". When i choose an image to upload in this control it shows that Occurrence = 0, this means that no files where uploaded.
I know that the problem isn´t the code because my colleague uses the same code in is project and it work.
Denunciar
0
0
Tim Korssen
#2
Publicado em abril, 26 2021 - 10:56 AM
Are you trying this in debug mode? I had this issue as well, then it turned out that I used IIS Express as webserver. Whan I changed to standard IIS webserver, it worked.
Denunciar
0
0
Scott
#3
Publicado em abril, 30 2021 - 10:49 AM
It's probably the server. IIS Express doesn't play well with the upload function.
Denunciar
0
0
Diogo
#4
Publicado em maio, 19 2021 - 3:07 PM
Yeah, that was the problem, thank you.
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto