This has been an ongoing thing, of course.
I need to move files, as they’re uploaded to an ftp, to a remote Mac server location.
Easy. I’ll do that with… Nope. Security.
At this point I’m left to either doing a two-step dance, or doing it on the Mac itself. Unfortunately, the built in ftp client for OSX is about to become OSGone. There are workarounds, but I’d rather do one stop shopping, so I’m looking at methods that require no other interventions. I’m thinking perl. Another thing I’ve never used.
Nope. I’m such a party animal. I totes installed the Ubuntu in a Windows thing. Installed a matching version of python to what comes stock on or Mac’s. Using the stock ftplib, everything is working as intended.
Beast.
Assuming that everything works in practice in the am. I should also add some size checking.
Today (tomorrow):
I added the ‘on the ftp server’ size checking to leave behind files that are in the process of uploading. Added logging to give some hints of what breaks down where. I added a bit to mount a network resource for saving the file to. I kinda want to have it verify the file is file downloaded, but I just couldn’t bring myself to do that today.