ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Net functions
  • Characteristics of the send operation
  • Retrieving the message on the server
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Transmits a character string to an FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV.
Note: To enable or disable this function on an FTP/RPC server, use NetServerOption.
ConnectFTP is int
ConnectFTP = NetConnect("148.61.125.245", FTPServer, "GUEST", "")
...
NetSendBuffer(ConnectFTP, "Coming soon")
Syntax
NetSendBuffer(<Connection ID> , <String to Send> [, <Additional information>])
<Connection ID>: Integer
Connection identifier (returned by NetConnect).
<String to Send>: Character string
Text that must be sent to the server.
<Additional information>: Optional integer
Additional information added to the string.
Remarks

Characteristics of the send operation

The string is send via the Windows message WM_COPYDATA(74).

Retrieving the message on the server

To retrieve the string sent and the additional information on the server, you must intercept the event 74 via Event (see the full example).
The _EVE.lParam variable points to a structure with the following format:
GetString is Structure
	Wdata is int       // Additional information sent
	ISize is int       // Size of the string sent (Number of bytes)
	pInfo is int   // Address of the string sent
END
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help