Functions | |
int | Nt6TftpRecv (IP6N TftpIP, UINT32 scope_id, char *szFileName, char *FileBuffer, UINT32 *FileSize, UINT16 *pErrorCode) |
int Nt6TftpRecv | ( | IP6N | TftpIP, | |
UINT32 | scope_id, | |||
char * | szFileName, | |||
char * | FileBuffer, | |||
UINT32 * | FileSize, | |||
UINT16 * | pErrorCode | |||
) |
Description
The function retreives a file using TFTP.
[in] | TftpIP | IPv6 Address of the Server. |
[in] | scope_id | This is the scope id. If the IP Address of the server is Link Local then this needs to be populated to the device index for the interface on which the TFTP Server is present. For Global Addresses this is ignored. |
[in] | szFileName | File Name to be retreived. |
[in] | FileBuffer | Buffer in which the downloaded file is stored. |
[in] | FileSize | Size of the buffer |
[out] | pErrorCode | Size of the buffer |
Success | - 1 | |
File | downloaded exceeds buffer - 0 | |
Error | - <0 |