SendToClient

<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > Utility functions >

SendToClient

procedure SendToClient(AMsg: string);

 

This function is executed only when the client connection is FTP (or FTPS/FTPES), and is silently ignored if the client connection is SSH/SFTP.

 

When executed, this function sends a formatted unsolicited response to the FTP(E/S) client. If the FTP(E/S) protocol requires a human-readable reply for the current operation, this message will be prepended to (but will not substitute) such reply.