


The LOCAL_FTP_INTERFACE and LOCAL_FTP_PORT args were kept separate from FTP_SERVER because I was thinking of a few one-off situations that don't matter. The FTP server bits were thrown in, after everything else had been written. I guess I was thinking "maybe there's a legit case where the FTP server isn't on my host", but that wouldn't really work - the Crestron devices tested seemed incapable of creating missing FTP directories on the FTP server. So, usage of the command line args doesn't really make a lot of sense, in retrospect. lfp LOCAL_FTP_PORT, -local-ftp-port LOCAL_FTP_PORT Local FTP server interface (defaults to all local lfi LOCAL_FTP_INTERFACE, -local-ftp-interface LOCAL_FTP_INTERFACE fu FTP_USERNAME, -ftp-username FTP_USERNAME fp FTP_PASSWORD, -ftp-password FTP_PASSWORD s, -force-ssh Force use of SSH rather than CTP 41795.ĭirectory where FTP server will place transferred files. IP address/hostname of FTP server the Crestron Device d, -dry-run Do recursive dir and print FPUTfile commands skipĭownloading and modifying local filesystem. IP address of Crestron device to replicate. h, -help show this help message and exit

A few test devices had no issue surrendering all files. It's largely untested and could lead to general unresponsiveness. I went down a bunch of rabbit-holes while ripping appart Crestron Device Documenter and thinking about that Crestron presentation at the last DEFCON, losing sight of the end goal more than once. My hands got tired of copy-paste, so this abomination happened. What it isĪ highly cannibalized copy of "Crestron Device Documenter" (sorry for the comments, in advance), made to automate the process of copying files from a Crestron device to the local filesystem. A script for recursively pulling files from a Crestron device using CTP.
