I try to automated upload file in youwatch and i blocked here ! When i
execute the code it’s like he doesn’t send the file because,in the
output
i’ve #http://ebox2.youwatch.org/cgi-bin/upload.cgi?upload_id=>}
I try to find any documentation or advice on internet but nothing very
well
only Upload file with ruby mechanize
http://stackoverflow.com/questions/15719021/upload-file-with-ruby-mechanize
the CODE:
file =“/mnt/donner/stream/done/skydiving.mp4”
up.form_with(:method => ‘POST’) do |form|
form.file_uploads.first.file_name = file
end.submit
the HTML:
<div class="upload_input"><input id="filepc" type="file"
name=“file” onchange=“this.form.fakeupload.value = this.value;”
size=“79”>