Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 14 declined, 3 accepted (17 total, 17.65% accepted)

Networking (Apple)

Submission + - Mac FTP question

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.)"

1 Mole = 25 Cagey Bees

Working...