FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Upload control isn't working - Webdev 24
Upload control isn't working - Webdev 24
Débuté par Diogo, 21 avr. 2021 17:56 - 3 réponses
Connectez-vous…
Diogo
#1
Posté le 21 avril 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.
Signaler
0
0
Tim Korssen
#2
Posté le 26 avril 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.
Signaler
0
0
Scott
#3
Posté le 30 avril 2021 - 10:49
It's probably the server. IIS Express doesn't play well with the upload function.
Signaler
0
0
Diogo
#4
Posté le 19 mai 2021 - 15:07
Yeah, that was the problem, thank you.
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte