Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 9 Jahren, 1 Monat
Letzter Beitrag:
vor 9 Jahren, 1 Monat
Beteiligte Autoren:
Michael Drechsel, Fabrice Harari

Webdev Server Code

Startbeitrag von Michael Drechsel am 07.06.2009 09:15


I have a problem with understanding the mechanism of server code in windev.

For example:

If I use a "fselect()" in server code, which files the user see, the files at the server or at his client machine ???

I can´test this without building a real webserver because my webdev development machine is client+server at once.


Hi Michael...

it's in fact very simple...

All BROWSER code is executed as JavaScript code on the browser side

All SERVER code is executed as if you were in a windev EXE (in fact, you are), on the server..

So the fselect is displaying the server directories and will not be usable in deployment...

If you want the user to select a file from his machine to upload it, then use a regular input field, and select the subtype upload

Best regards

von Fabrice Harari - am 07.06.2009 11:26
Hi Fabrice,

whats about Multiselection of files ?

And I need a Zip function at client site ... Is this possible anyway with webdev ?

von Michael Drechsel - am 07.06.2009 13:44
Hi Michael...

directly, no, as these options are just not supported by browsers.

But nothing prevents you to use WINDEV to create a java applet doing exactly that (multiselection, zip, and even transfer to the server of the zipped file) and then to USE this java applet in your webdev page

Best regards

von Fabrice Harari - am 07.06.2009 14:36

you just destroyed my wonderful web 2.0 world .... :-(

von Michael Drechsel - am 07.06.2009 14:43
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.