AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Net
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
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.
Lists the available disks:
  • on the FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV,
  • on the client computer.
Remark: To allow (or not) the use of this function on an FTP/RPC server, call NetServerOption.
Example
ConnectRPC is int
ConnectRPC = NetConnect("148.61.125.245", RPCServer, "GUEST", "")
...
// Displays the list of disks found on the server
Info(NetDiskList(ConnectRPC))
Syntax
<Result> = NetDiskList([<Connection identifier>])
<Result>: ANSI character string
List of disks found on the server or on the client computer. This result has the following format:
Disk1 + TAB + Type1 + CR + Disk2 + TAB + Type2 + CR +...
The different types of disks are as follows:
CDCD ROM
FDFloppy drive
HDHard disk
NWNetwork drive
RDRAM disk
UNUnknown type
<Connection identifier>: Optional integer
Identifier of the connection for the client computer (returned by NetConnect). If this parameter is not specified, NetDiskList returns the list of available disks on the current computer.
Component: wd290com.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 07/06/2023

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