• March 28, 2024, 02:36:01 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DCS-2121 Capture picture with HTTP request without authentification  (Read 18466 times)

philouuuu

  • Level 1 Member
  • *
  • Posts: 3

Hello,

I own a Dlink DCS-2121 Camera and I m writting a C++ application using this camera. I just need to capture a picture.

Then I use the URL : http://192.168.1.2:80/image/jpeg.cgi

But the fact is that it need an authentification.

I tried this : http://user:pwd@192.168.1.2:80/image/jpeg.cgi
or this : http://192.168.1.2:80/image/jpeg.cgi&user=admin?pwd=

And it doesnt work.
What's the right URL ?

In another project, I connected my application to the web server of a camera directly by Socket and by sending an HTTP request, I received an image
The request was : "GET /snapshot.jpg?user=admin&pwd= HTTP/1.1\r\n\r\n"
What should be the right request to get an image with the DCS-2121?

Thanks you !
Phil
Logged

philouuuu

  • Level 1 Member
  • *
  • Posts: 3
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #1 on: August 31, 2009, 10:42:04 AM »

Big up

Anybody used a DCS camera in his own application?
Logged

philouuuu

  • Level 1 Member
  • *
  • Posts: 3
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #2 on: September 09, 2009, 10:49:02 AM »

Why anybody cant answer my question?
Is there nobody from DLink here ???
Thks
Logged

madhusudhan

  • Level 1 Member
  • *
  • Posts: 2
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #3 on: September 10, 2009, 09:57:28 PM »

How to capture image by using DCS-2121 D-link camera. i am working in VS C#.net 2005.
Can you please send how to capture image. D-Liink  DCS-2121 is IP based wireless camera.


what i want is when i click the button Capture image will capture automatically save in any location.

 
Logged

ECF

  • Administrator
  • Level 11 Member
  • *
  • Posts: 2692
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #4 on: September 15, 2009, 01:33:55 PM »

Unfortunately this camera is not supported in the US so I do not have any helpful information to provide I would recommend contacting support in the region you purchased the camera and request SDK (software development kit) for this camera.
Logged
Never forget that only dead fish swim with the stream

madhusudhan

  • Level 1 Member
  • *
  • Posts: 2
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #5 on: September 23, 2009, 11:07:06 PM »

Hello,

I own a Dlink DCS-2121 Camera and I m writting a C++ application using this camera. I just need to capture a picture.

Then I use the URL : http://192.168.1.2:80/image/jpeg.cgi

But the fact is that it need an authentification.

I tried this : http://user:pwd@192.168.1.2:80/image/jpeg.cgi
or this : http://192.168.1.2:80/image/jpeg.cgi&user=admin?pwd=

And it doesnt work.
What's the right URL ?

In another project, I connected my application to the web server of a camera directly by Socket and by sending an HTTP request, I received an image
The request was : "GET /snapshot.jpg?user=admin&pwd= HTTP/1.1\r\n\r\n"
What should be the right request to get an image with the DCS-2121?

Thanks you !
Phil





Can u send me the code , i will try it.

send that D-Link  code which is you developed  to my mail id:  " pmadhu.net@gmail.com"




Logged

noipser

  • Level 1 Member
  • *
  • Posts: 1
Re: DCS-2121 Capture picture with HTTP request without authentification
« Reply #6 on: April 01, 2010, 02:48:13 AM »

very late reply :)

I successfully fetched a picture from my d-link dcs-2121 using this url:

   http://admin:<passwd>@192.168.1.20:80/image/jpeg.cgi&profileid=1

Greets,
  Noipser
Logged