Uploading video

Sep 5, 2009 at 3:32 PM
Edited Sep 5, 2009 at 3:35 PM

I have some trouble uploading video (.mp4) using Flickr.Net.
It throw the error: "Filetype was not recognised"
If I upload the the same video on flickr.com everything is ok.

Please advise

 

 

Sep 12, 2009 at 9:10 PM

None?

Coordinator
Sep 30, 2009 at 12:24 PM

The problem is my code hard codes the filename as "image.jpeg" - which is obviously wrong.

Currently you can upload a photo from a stream in memory however, without a file on disk at all, so there was no need for a filename to ever exist.

I'll need to look at either changing it so a file extension, or a filename is optional for uploading.

 

Sep 30, 2009 at 12:31 PM

Nice, looking forward for a update

Coordinator
Sep 30, 2009 at 2:29 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Sep 30, 2009 at 9:37 PM

Downloaded the source, overloaded the streaming functions with a file name parameter. Changed two other functions to use Path.GetFileName(filename) to the new overloaded function.
Works like a charm now :)