Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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, No                 if no error;.

Specific transfer error code, otherwise.

Required Configuration

None.

Notes / Warnings

None.

Example Usage

See section Getting Started for an example.