Unless I've (not for the first time) missed the point, this sounds like a classic case of a class following the singleton/monadic pattern to handle the
ftp protocol whilst providing a common interface to the
writer scripts (and also, implicitly, providing the locking).
A user level that continues to overstate my experience :-))