Ping after FTP transfer

Subscribe to Ping after FTP transfer 6 posts, 2 voices

 
Avatar nikitab 16 posts

Is there a way to get a ping after the file has been transfered via FTP after being encoded?

 
Avatar Bruno Celeste 374 posts

The ping after encode is sent after the FTP/S3 transfer, so no problem.

 
Avatar nikitab 16 posts

Great! Thanks!

 
Avatar nikitab 16 posts

Bruno, with pingbacks, I think there is some confusion about relationship between IDs.

When i get XML response from discover, I have <id>.

Then I need to react to two events:

Success – ping with

"encoded_video_id"=>"98400", 
"filename" => "HeyWatch_filename.mp4",
"link" => "http://heywatch.com/encoded_video/98400.bin",
"video_id" => "95740",
"job_id" => "38456"

Are any of those the id returned to me after I requested discovery?

Also, I need to handle different failures. However, the relationship with IDs is not clear.

Also, I would suggest that you expand your samples to cover how exactly to use custom fields… that’s a bit confusing :\

 
Avatar Bruno Celeste 374 posts

You should submit a custom field in the discover request, something unique that you can track. Eg. post_id=uniqID When you receive the ping after encode or the ping if error, you’ll have post_id in the parameters and you’ll know exactly what it is.

I think this is what you need.

 
Avatar nikitab 16 posts

Cool. Thanks. Works fine.