slothdog writes: "The Windows command-line FTP client has a -s argument that lets you specify a text file containing ftp commands for it to run. The Mac (10.4.7) version doesn't appear to have such a thing. What's the best way to feed it a series of commands?
(Background: I have a PHP script I use to update the songs on my station, which generates a text file of FTP commands. Then I ssh in and run "ftp -s:ftpcmds.txt" and sit back as it logs in, deletes old stuff, and uploads new stuff.)"