PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Lists the available disks:
  • on the FTP server (File Transfer Protocol) or on the RPC server (Remote Procedure Call) powered by WINDEV,
  • on the client computer.
Note: 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:
FDFloppy drive
HDHard disk
NWNetwork disk
CDCD ROM
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 found on the current computer.
Components
WINDEVReports and Queries wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment