DFTPdevice is an FTP like server that runs on both the Explorer and LeapPad. For these devices, this is what OpenLFConnect connects to them with.

DFTP Device

Connecting.

Open port 5000
send ETH command
Open port 5001

When device starts up port 5000 is open, once you make a connection, you need to send the ETH command.
Then port 5001 opens up.

5000 is the port you send commands to.

5001 is the port you read the responses from.

DFTP Command List

The command list is fairly undocumented, there is a few listed in the sources, but most will be discovered by other means, like using Wireshark. This is the list so far.

All commands must have a trailing 0x00 attached. In python it would look something like.

socket.send('LIST /path/to\x00')

In OpenLFConnect there is a special command send. It allows you to send any command you like, the 0x00 is appended for you, otherwise its all raw read/write. Obviously STOR and RETR won't work with it, but the rest you can play around with.