TFTP server for Fat32 cards.
Same as "TFTP Server", but for Fat 32 cards.
Supports subdirectories and longfilenames.
Since the TFTP protocol does not know anything but "put" and "get" commands, the TFTP server has been equipped with the
following "pseudo command" mechanism, based on the tftp "get" command:
- get -FileName : delete FileName (see the minus sign in the command)
- get "+Command FileName" : (do not forget the quotes) execute Command on FileName where Command is one of the following:
- MkDir : make directory with FileName inside the current directory
- RmDir : remove directory named FileName inside the current directory
- ChDir : Change directory to the one named FileName in the current directory,
"\" and ".." as FileName are allowed.
Remarks:
- The double quotes around the pseudo command and filename group are obligatory.
- When using a pseudo command always an error message is returned to the client,
together with the message of the action done.
- "\" is an escape character in the Tftp protocol, so to execute "+Chdir \" one has to enter "+Chdir \\".
- The dirname given with "MkDir", "RmDir" and "ChDir" can not be complex paths, only single directory names.
Examples of command lines in dos:
- tftp 102.168.123.80 get File1.txt : fetches File1.txt from the server.
- tftp 102.168.123.80 put File2.txt : places File2.txt on the server.
- tftp 102.168.123.80 get -File1.txt : deletes File1.txt on the server.
- tftp 102.168.123.80 get "+MkDir Subdir" : makes a subdirectory "Subdir" in the current directory.
- tftp 102.168.123.80 get "+RmDir Subdir" : removes the subdirectory "Subdir" in the current directory.
- tftp 102.168.123.80 get "+ChDir Subdir" : changes the current directory to "Subdir".
- tftp 102.168.123.80 get "+ChDir .." : go up one directory level.
- tftp 102.168.123.80 get "+ChDir \\" : go to the root directory.
-------------------------------------------