AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Net
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
This function is kept for backward compatibility. It is recommended to use a standard FTP, SSH or SCP server. For more details, see Handling files on an FTP server and Standard FTP functions.
Manages the rights of clients on the server (FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV). The authorizations granted or denied are applied to all the clients that will connect to the server.
Attention: This function can only be executed on the server. By default, the server allows all Net functions to be executed.
Ejemplo
FTPServerID is int = NetStartServer(FTPServer)
...
// Forbids the use of NetExecute and NetEraseFile on the server
NetServerOption(FTPServerID, netOptionExécute, False)
NetServerOption(FTPServerID, netOptionEraseFile, False)
Sintaxis
NetServerOption(<Identifier of Server Connection> , <Action Name> , <Authorization>)
<Identifier of Server Connection>: Integer
Connection identifier (returned by NetStartServer).
<Action Name>: Integer constant
To each Net function having an action on the RPC/FTP server corresponds a WLanguage constant that can allow of forbid the corresponding action. The limit of the actions that can be performed on the server is performed via the following constants:
NetDirListnetOptionDirList
NetDiskListnetOptionDiskList
NetEraseFilenetOptionEraseFile
NetExecutenetOptionExecute
NetGetFilenetOptionGetFile
NetRemoteMessageBoxnetOptionRemoteMessageBox
NetRenameFilenetOptionRenameFile
NetSendBuffernetOptionSendBuffer
NetSendFilenetOptionSendFile
NetSendMessagenetOptionSendMessage
<Authorization>: Boolean
  • True Allow the specified action.
  • False Does not authorize the specified action.
Componente: wd300com.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local