While the exact interface may vary depending on the camera firmware version, here are the steps to setup FTP on the latest firmware of newer Dahua cameras.
Browse to the FTP configuration on the camera. This is done by logging into the camera firmware web page once you know it's IP address. For example : http://192.168.0.93 To discover the cameras IP address you can look at devices connected to your router or use Dahua Config Tool
Then go to Picture -> Storage. Select Network Storage option, select standard FTP (not sFTP) and enter ftp.teleport.io as the server, port 21 and feed ID as username, and password provided on the feed dashboard 'Live image' tab. Storage path shuld be empty and use Level 1 directory and choose a file name that contains date & time so we can read the image timestamp on our end. Apply settings. Clicking test likely will show errors as Dahua attempts to use the FTP site as a read/write storage which we do not support. Image upload will however work without issue.
Now we choose the schedule to upload images at this is done in the Time Plan tab. Make sure to draw the green 'General' line as that is the auto recurring image upload. Otherwise images will only be uploaded on events such as motion detection. Click Apply save and you should soon see live images on your Teleport feed!
Now configure the upload interval, make sure this matched the interval selected in the 'Live image' -> 'Capture rate & schedule' tab. Uploading images faster than configured on Teleport will result in the feed being throttled or blocked.
Auto Upload
The 'Auto Upload' Dahua function, does not work on the General recurring image schedule, only on the Event based schedule. It will only upload images when motion or other events are triggered. This may change with future Dahua firmware updates.
To use Auto Upload use the following settings, api.teleport.io for the domain dame, port 443, and Path as /api/v2/frame-set?feedid=<your feed id>&broadcastkey=<broadcast key from the live image tab>