TIpClient() > File handling xHarbour Developers Network  

oTIpClient:writeFromFile()

Writes data from a local file to the internet connection.

Syntax

:writeFromFile( <cFileName> ) --> lSuccess

Arguments

<cFileName>
This is a character string holding the name of the file to open on the local station. It must include path and file extension. If the path is omitted from <cFileName>, the file is searched in the current directory.

Description

Method :writeFromFile() transmits the contents of an entire file <cFileName> from the local station to the server. Note that writing data requires a successful call to the :open() method for establishing the internet connection.

The method returns a logical value indicating success of the operation.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe