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
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.
Transmits a character string to an FTP server (File Transfer Protocol) or to a RPC server (Remote Procedure Call) powered by WINDEV.
Remark: To allow (or not) the use of this function on an FTP/RPC server, call NetServerOption.
ConnectFTP is int
ConnectFTP = NetConnect("148.61.125.245", FTPServer, "GUEST", "")
...
NetSendBuffer(ConnectFTP, "Coming soon")
Syntax
NetSendBuffer(<Connection identifier> , <String to Send> [, <Additional information>])
<Connection identifier>: 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: 06/07/2023

Send a report | Local help