How can I automate deleting new files from a directory if their ftp transfer was successful?
September 17, 2004 9:47 AM Subscribe
Nerds Automation masterminds. I record radio shows on a weekly basis using a hauappage WinTV card in an XP box (I use the Axife frontend). I'm trying to automate my whole process to the point where all I have to do is plug my ipod into my powerbook. I have scripted ftp.exe to send the resultant MP3 files from the XP box to my powerbook once daily. On the powerbook, I have a folder action set to run a script that adds any files that appear to itunes, and then delete the files. The only thing I haven't got my head around is how to automatically delete the files from the XP directory, BUT ONLY if the ftp transfer was successful. Suggestions?