Internet Direct (Indy)
|
Write the contents of a file to the IOHandler connection.
function WriteFile( const AFile: String; AEnableTransferFile: Boolean = False ): Int64; override;
Parameters |
Description |
AFile |
File name to write to the IOHandler. |
AEnableTransferFile |
Indicates the optimized filew transfer is enabled for the platform. |
Cardinal - Size of the specified file on the local file system.
WriteFile is an overridden Cardinal function used to write the contents of the file specified in AFile to the socket-based IOHandler.
WriteFile calls the inherited WriteFile method to copy the contents of the file to the IOHandler.
The return value for the method is the size of the specified file on the local file system.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |