Versions Compared

Key

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

...

Anchor10466651046665 Interface with FS Anchor10458621045862µC/FTPc can transfer files and memory arrays; this module may hence be used with or without the presence of a file system. The choice is made using a configuration variable which enables or disables the compilation of file system related functions (see section 3-2 for more details). anchor10458871045887

When configured to use a file system, the sample application that comes with µC/FTPc assumes the presence of µC/TCP-IP’s µC/FS port, as mentioned in Chapter 2 Chapter 2. It is possible to port µC/FTPc so it is used with other file system by providing an appropriate implementation of net_fs.c. and net_fs.h. Example template files to port the file system are available in the uC-TCPIP-V2\FS\Template directory. Please refer to section µC/TCP-IP Network File System Abstraction Layer of µC/TCP-IP’s User’s Manual. Anchor10500101050010

Also note that when used with µC/TCP-IP’s µC/FS port, µC/FTPc expects a full path using the path delimiter returned by NetFS_CfgPathGetSepChar(). When that path delimiter is the reverse solidus (backslash), a path to a particular file would look like: Anchor10459571045957

\test_dir\test_file