WPD on XP, Vista, and 7 (need to transfer photo and video files)

Posted by Bradley Dean on Stack Overflow See other posts from Stack Overflow or by Bradley Dean
Published on 2010-06-14T18:08:35Z Indexed on 2010/06/14 18:12 UTC
Read the original article Hit count: 364

Filed under:
|
|

I need to transfer files (still photos and videos) from any portable device that a user may connect (still camera, video camera, mobile phone, etc.) I don't need to worry about plain storage devices as these have drive letters. And I only care about existing files, I don't care about live video, preview video, taking new pictures, etc.

I originally tried WIA, which works great except it can not transfer video files.

So then I tried WPD, following along with dimeby8's tutorial: http://blogs.msdn.com/b/dimeby8/archive/2006/09/27/774259.aspx

I haven't gotten the transfer working yet (I'm converting it over to C#), but I can at least see the device and enumerate the files in Win7. In XP I get nothing. It's pointed out in this thread that WPD won't enumerate devices on XP (see Lisa O [MSFT]'s post): http://social.msdn.microsoft.com/Forums/en/windowssdk/thread/56459945-b757-45df-8c9f-4ebdbbb18a2c

So WIA is out because it won't do video. And WPD is out because it won't do XP.

Has anyone gotten this to work? Am I missing something simple here?

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wia