Recent Posts by avlok

Subscribe to Recent Posts by avlok 1 post found

Jan 31, 2008
Avatar avlok 1 post

Topic: Issues / API Error --> "No file is selected"

Background: Trying to transfer a file from my hard-drive to my Heywatch account. Using the following piece of code:

//establish connection with heywatch here //....

//upload video from harddrive raw_video = Video.create(:file => ‘C:/heywatch.flv’, :title => ‘Funny video’) do |percent, total_size, received| puts ”#{percent}%” end

Issue: When I run the above piece of code, I get a “No file selected” message. I’ve confirmed the following: i) C:/heywatch.flv exists ii) upload from an html form works

The above facts lead me to believe that this is a bug in the Heywatch API. Can someone please confirm my findings? Or if you disagree, I would appreciate any advice you might have.

Cheers,

A.K.