FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Upload control isn't working - Webdev 24
Upload control isn't working - Webdev 24
Iniciado por Diogo, 21,abr. 2021 17:56 - 3 respuestas
Conéctese…
Diogo
#1
Publicado el 21,abril 2021 - 17:56
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.
Informar
0
0
Tim Korssen
#2
Publicado el 26,abril 2021 - 10:56
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.
Informar
0
0
Scott
#3
Publicado el 30,abril 2021 - 10:49
It's probably the server. IIS Express doesn't play well with the upload function.
Informar
0
0
Diogo
#4
Publicado el 19,mayo 2021 - 15:07
Yeah, that was the problem, thank you.
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto