Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Puts a file from the TFTP server.

Files

tftp-c.h/tftp-c.c

Prototype

Arguments

server_ip 

Server IP address.

server_port

Server port.

pfilename_local

Pointer to name of the file to be read from the client.

pfilename_remote

Pointer to name of the file to be written to the server.

mode

FTP transfer mode:

FTPc_MODE_NETASCII  ASCII mode
FTPc_MODE_OCTET        Binary mode

Returned Values

TFTPc_ERR_NONE,                if no error.

Specific transfer error code, otherwise.

Required Configuration

None.

Notes / Warnings

None.

Example Usage

See section Getting Started for an example.

  • No labels