D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-2330L => Topic started by: MarcusAK81 on October 26, 2015, 12:54:02 PM

Title: Download Videos from SD-Card
Post by: MarcusAK81 on October 26, 2015, 12:54:02 PM
Hey all,

is there any possibility to download all the files from the SD card to local? With more than 100 files on the CARD its impossible to click every file and download it separately from the build in webserver page. What im looking for is way to catch them all in one step.
(Storing on NAS or FTP is not possible at the moment caused by security restriction in the used environment)

Hopefully there is an easy solution.

Thx and best regards
Marcus
Title: Re: Download Videos from SD-Card
Post by: FurryNutz on October 27, 2015, 07:55:04 AM
Might check the user manual for access of SD card information. Not sure if you can access it in Explorer or not.
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on October 27, 2015, 11:51:59 AM
I've checked the user manual, there is no other way described then downloading each file separately from the webbrowser menu. With more than 200 files stored on the card, thats totally senseless. thats why i raised the question for an better solution :)
Title: Re: Download Videos from SD-Card
Post by: FurryNutz on October 27, 2015, 12:26:02 PM
Is the camera easily accessible? Might try removing the SD card in placing into a PC if you have a SD card reader.
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on October 27, 2015, 12:44:42 PM
Unfortunately not :( and for removing the SD Card you everytime have to remove the Weatherproof screw covering. Doing that a few times i would expect the cam looses there weatherproofness. So, this is no option too.

Title: Re: Download Videos from SD-Card
Post by: FurryNutz on October 27, 2015, 01:03:26 PM
I'll ask and see what can be done. Hope someone will respond.  ;)
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on October 27, 2015, 02:18:28 PM
Thanks a lot... This would be great :)
Title: Re: Download Videos from SD-Card
Post by: cmontyburns on October 28, 2015, 01:06:37 PM
@MarkusAK81:

If you're comfortable mucking around with the command line (ssh, ftp and the like), you might browse this thread:

http://forums.dlink.com/index.php?topic=57108.0 (http://forums.dlink.com/index.php?topic=57108.0)

It, plus another thread linked to inside it, have some discussion about how to perform command-line access to the camera to grab stuff off the SD card.  Note that the discussion is for a different D-LInk camera, but I rather suspect that if it works for that one, it would work for the 2330L as well.

One other suggestion: I don't use MyDLink, but I imagine there is SD card access provided through that cloud service.  Have you looked into whether you can do what you want through MyDLink?

Good luck!
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on October 31, 2015, 04:35:11 AM
Thanks for the links. I've scanned the port range of the camera, but unfortunately by this type no port are open and also cannot be activated like described in one of the links.
But the way using ssh seems the only one to solve my issue.
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on December 05, 2015, 01:48:04 AM
Even after updating to the latest Firmware, there is still no possibility to directly access the SD Card... :(
Title: Re: Download Videos from SD-Card
Post by: bjg222 on January 21, 2016, 06:58:54 PM
I'm having this issue too, I'd love to see an SMB share or something similar for pulling files from the SD card!
Title: Re: Download Videos from SD-Card
Post by: eoga on April 01, 2016, 11:30:58 PM
Me too. I think is crazy that there is no way to do this. how they expect you to check your videos if you have to download all of them one by one like you were downloading something from the web instead than from your personal network. They really need a SMB or sftp connection to b able to check your videos over the sd.
Title: Re: Download Videos from SD-Card
Post by: echandler on April 12, 2016, 05:30:34 AM
I wrote a user script (use with Tampermonkey in Chrome or Greasemonkey in Firefox) that makes downloading many videos much easier, I think it is possible to write a user script that can download all the videos through the browser.

http://forums.dlink.com/index.php?topic=64773.0 (http://forums.dlink.com/index.php?topic=64773.0)
Title: Re: Download Videos from SD-Card
Post by: echandler on April 15, 2016, 09:33:43 AM
I made this script that does a pretty good job of downloading all the videos through the web interface (only tested so far in firmware v1.00 and chrome v49), just navigate to the sd card menu and copy and paste the script into the javascript console (ctrl+shift+j in chrome, didn't tested it in firefox or IE yet).

I did notice that the tab can't lose focus (screen saver, opening another tab ect.) or else it will download duplicates or miss some files. There are two variables at the top of the script that control timing, if it is pausing to long between folder changes or the videos are taking to long to download then increase or decrease those values. When you paste the script into the console and press "Enter" there will be more instructions, make sure to scroll all the way to the bottom before you start, they might be hidden.

I hope to be able to test this on newer versions in a few weeks. So far it is working really well.

https://gist.github.com/anonymous/55b41ba3130c101017048f05aa989434 (https://gist.github.com/anonymous/55b41ba3130c101017048f05aa989434)
Title: Re: Download Videos from SD-Card
Post by: echandler on April 16, 2016, 12:37:54 AM
This looks like a good script, I tested it on v1.00 and it doesn't work (the "pagesize=999" in the url returns a 502 error), it probably works fine in other versions. You will need to install python (not sure which version), change the username, password and ip variables at the top.

https://gist.github.com/vmichnowicz/15ea0d19e832fccee287 (https://gist.github.com/vmichnowicz/15ea0d19e832fccee287)
Title: Re: Download Videos from SD-Card
Post by: MarcusAK81 on April 18, 2016, 01:18:10 PM
Some news i've found out by accident. Some SAMSUNG TVs are able to browse the SD-Card of the Cam via UPNP. Maybe there is approach to find a way accessing the videos stored on the card directly...

Anyway, did anybody knows a camera manufacturer where this direct access is posible?
Title: Re: Download Videos from SD-Card
Post by: MikeSD on August 07, 2016, 10:14:31 AM
I tried the script with Chrome and it works great on two D-Link cameras. Works for 2330L and 5222LB.  Very quickly can download hundreds of videos.  Can't actually download faster but you can select all in a folder with a couple clicks and download them all at once.