Edit: Additional question. I'm using a script to call CouchPotato to rename, download metadata, and move the file to a Movies directory (nzbToMedia). I want to be able to call PPScript NCFtp to move the now complete Movie (which has now moved to the 'Movies' directory) to move it to a different NAS.

Everything works, but I can't get the NCFtp script to find the new location. Is this possible?

The problem is that nzbToMedia only tells CouchPotato to do the rename. It doesn't get any final destination returned to say where it was moved too...

It does however wait to confirm that renaming is complete. It would be possible to then trigger another script that polls the CouchPotato Api to find out where the movie file is, and then move/rename...

Otherwise if you know the renamer "To" folder in CouchPotato, you could hard code this in to your script... And if you are actually doing a move, you can simply just move any new files that appear in that folder...