HolyLib Wiki

CNetChan:SetFileReceivedCallback

  CNetChan:SetFileReceivedCallback( function callback )

Description

Sets the callback function for when a requested file has been fully received.
Can be returned using CNetChan:GetFileReceivedCallback

Arguments

1function callback

The new callback function

Function argument(s):
1CNetChan channel -

The channel

2string fileName -

The received file's name

3number transferID -

The transfer ID of the file

Function return argument(s):