Versions Compared

Key

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

...

Anchor10439521043952 TFTPc_Put() Anchor10444111044411Puts a file from the TFTP server. Anchor10444511044451

Files

...

tftp-c.h/tftp-c.c

...

...

Prototype

...

classCode_Listing

...

rowspan5

...

...

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 error;

...

...

Specific transfer error code, otherwise.

...

...

Required Configuration

Anchor10476281047628None. Anchor10476291047629

Notes / Warnings

...

1048201None. Anchor10478331047833

Example Usage

Anchor10477921047792See section 3-3 “µC/TFTPc Example Code” on page 9.