InetOut

Uploads data to the current server handle.

Synopsis

error = InetOut(data, flags)

Args

data is the data to be uploaded.

flags specifies some options. It may be any of the following, each separated by a | character:

ValueMeaning
FREE Free the current server handle automatically after upload.

If omitted, flags defaults to none of the above.

Returns

An empty string if successful, or an error message if a problem.

Notes

If you call InetOut before calling InetConnectUrl(), InetConnect() or some other function to set the current server handle, then a REXX SYNTAX condition is raised. CONDITION('E') returns error number 40.1 and CONDITION('D') returns the message DLL function "INETOUT" reported server handle not open!.