• July 28, 2017, 01:42:19 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-5029L Not Sending Files to FileZilla FTP Server in Azure  (Read 604 times)

cjens19

  • Level 1 Member
  • *
  • Posts: 15
DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« on: March 05, 2017, 02:34:35 PM »

I've got 2 DCS-932L's and 1 DCS-5029L. Each camera has their own account on my filezilla FTP server. The 2 932's are working great. However, the 5029 just does not want to send any image files over FTP. The connection is successful to Filezilla, I can see the connections right in the FileZilla log in real time, but images never send. What am I missing? The documentation is a little lacking. I'm on Firmware 1.14 (latest). Here are some of my settings on my 5029, called Main:
LAN SETTINGS
DHCP: Yes
Enable UPnP presentation: Yes
Enable UPnP port forwarding: Yes
Forwarding Port: 1024 (default option)
Forwarding Status: UPnP forwarding is active

EVENT SETUP > SERVER TYPE > FTP
Server address: Public IP of my Azure VM
Port: 21
Username: main
Password: (mypassword)
Remote folder name: maindump/
Passive Mode: Yes

In FileZilla server, the Home dir for user main is C:\FTP\ and has full rights to it, which allows it to CWD to C:\FTP\maindump

Here is a snippet from my FileZilla log that shows the connection is made:
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> Connected on port 21, sending welcome message...
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> 220-FileZilla Server 0.9.56 beta
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> 220 Please visit https://filezilla-project.org/
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> USER main
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> 331 Password required for main
(006321)3/5/2017 16:30:13 PM - (not logged in) (HOME_IP_ADDR)> PASS
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> 230 Logged on
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> PWD
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> 257 "/" is current directory.
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> CWD maindump/
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> 250 CWD successful. "/maindump" is current directory.
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> EPSV
(006321)3/5/2017 16:30:13 PM - main (HOME_IP_ADDR)> 229 Entering Extended Passive Mode (|||54105|)
(006318)3/5/2017 16:30:14 PM - main (HOME_IP_ADDR)> 421 Connection timed out.
(006318)3/5/2017 16:30:14 PM - main (HOME_IP_ADDR)> disconnected.

To rule out anything with my motion settings not working, I changed my Event type to send Periodic images every 1 minute. Connections are made every minute, but no images are sent. If I change Server Type to Email, the images are emailed every minute, so it only appears to be the FTP part that's not working.

Anyone have any clue what is going on? I'm using the same settings for my 2 932's and those work just fine.

Thanks all.
Logged

RYAT3

  • Level 10 Member
  • *****
  • Posts: 2050
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #1 on: March 05, 2017, 09:17:27 PM »

Turn off passive mode on the bad camera?  (Just guessing here).
Logged

cjens19

  • Level 1 Member
  • *
  • Posts: 15
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #2 on: March 06, 2017, 07:57:38 AM »

Yeah unfortunately I've tried all combination of settings. Passive mode toggled on/off has been tried numerous times. Both settings still allows connection to FTP server. Just no images.

Thanks for the reply. Shame this camera doesn't want to work. I like the 720 but until I can get motion images to send, it's being relegated to basement duty.
Logged

RYAT3

  • Level 10 Member
  • *****
  • Posts: 2050
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #3 on: March 06, 2017, 08:10:04 AM »

Try the main root as a test?

Have you tried maindump\ ? Or other variations?  Some of these cameras are confused and use \ instead.
Logged

cjens19

  • Level 1 Member
  • *
  • Posts: 15
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #4 on: March 06, 2017, 09:10:13 AM »

Yeah I read on another thread that this model doesn't like the lone "/" so I ended up trying all sorts of variations. It doesn't appear that FileZilla cares about which type of slash I use though, which is something I just discovered. If I use "maindump/" or "maindump\" in my DCS config, FZ cares not, it will still change directory to the same maindump folder. I've tried:
"/"
"/maindump"
"/maindump/"
"maindump/"

And all variations behave the same way in FZ. Connections all made, but no images or no successful Tests from DCS. "Test Error"

I then blanked-out the remote folder name field entirely, same results as above.

I can tell that the motion detection is working, because MAIN will make connections to FZ sporadically. However I am seeing a difference in the FZ logs when one of my working cams connects versus this one. The other 2 working cams never enter "extended passive mode", since I have Passive Mode disabled on those 2 obviously, but MAIN does even when it's disabled:

(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> 230 Logged on
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> PWD
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> 257 "/" is current directory.
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> CWD /
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> 250 CWD successful. "/" is current directory.
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> EPSV
(000014)3/6/2017 10:36:32 AM - main (HOME_IP)> 229 Entering Extended Passive Mode (|||50903|)

(000011)3/6/2017 10:36:33 AM - main (HOME_IP)> 421 Connection timed out.
(000011)3/6/2017 10:36:33 AM - main (HOME_IP)> disconnected.

It doesn't matter if I turn Passive Mode on or off in the DCS config, FZ will always execute EPSV.
Logged

cjens19

  • Level 1 Member
  • *
  • Posts: 15
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #5 on: March 06, 2017, 04:08:01 PM »

Ok so just for fun, I reverted my 5029 back to FW 1.02. I then noticed the connection attemps to the FZ server appeared different, simply by changing the firmware. It was no longer entering Extended Passive Mode, but just regular Passive Mode. Then, after I disabled Passive mode in the DCS config, finally a success. So, in case anyone has the same issue (doubtful since I think this is the only post of its kind on the entire interwebs), roll back to a previous FW and try again. Something in 1.14 (and maybe other more recent firmwares too) forces Extended Passive Mode in FileZilla no matter what you have the setting set to. 1.02 lets me choose Passive mode or not and it actually reflects that in the FZ log.

(000461)3/6/2017 17:57:40 PM - (not logged in) (HOME_IP)> USER main
(000461)3/6/2017 17:57:40 PM - (not logged in) (HOME_IP)> 331 Password required for main
(000461)3/6/2017 17:57:40 PM - (not logged in) (HOME_IP)> PASS ********
(000461)3/6/2017 17:57:40 PM - main (HOME_IP)> 230 Logged on
(000461)3/6/2017 17:57:40 PM - main (HOME_IP)> SYST
(000461)3/6/2017 17:57:40 PM - main (HOME_IP)> 215 UNIX emulated by FileZilla
(000461)3/6/2017 17:57:40 PM - main (HOME_IP)> PWD
(000461)3/6/2017 17:57:40 PM - main (HOME_IP)> 257 "/" is current directory.
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> CWD maindump
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 250 CWD successful. "/maindump" is current directory.
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> PWD
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 257 "/maindump" is current directory.
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> PORT HOME_IP_ADDR,199,200
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 200 Port command successful
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> STOR test.txt
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 150 Opening data channel for file upload to server of "/maindump/test.txt"
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 226 Successfully transferred "/maindump/test.txt"
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> QUIT
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> 221 Goodbye
(000461)3/6/2017 17:57:41 PM - main (HOME_IP)> disconnected.

So weird how the FTP functionality completely changes (for the worse) in the newer version(s). I may get curious and dig through some patch notes of the fw to see what they say.

Thanks for the replies, RYAT3. Cheers!
Logged

RYAT3

  • Level 10 Member
  • *****
  • Posts: 2050
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #6 on: March 06, 2017, 05:05:10 PM »

Ok so just for fun, I reverted my 5029 back to FW 1.02. I then noticed the connection attemps to the FZ server appeared different, simply by changing the firmware.
It was no longer entering Extended Passive Mode, but just regular Passive Mode. Then, after I disabled Passive mode in the DCS config, finally a success.
So weird how the FTP functionality completely changes (for the worse) in the newer version(s). I may get curious and dig through some patch notes of the fw to see what they say.

Thanks for the replies, RYAT3. Cheers!

Dlink needs to investigate and fix their stuff.  :-X   Maybe Furry can raise the issue.

I don't have a 5029L to test with.   You might try something other than a filezilla ftp server.  Maybe your router with an attached USB drive.
Logged

cjens19

  • Level 1 Member
  • *
  • Posts: 15
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #7 on: March 20, 2017, 02:12:17 PM »

Well this is a bummer. So, my 5029L no longer works on MyDlink with the older 1.02 firmware. I incrementally updated to 1.14 (the latest), and it ONLY shows up in MyDlink when on 1.14. No fw prior to that will work anymore. So now I'm definitely at a crossroads. This camera has got me to my wits end. I guess I just need to choose the lesser of 2 evils; stay on 1.02 so FTP functionality continues working for motion-detected images. Or, upgrade to 1.14 so I can live-view in MyDlink, but not have the ability to send to FTP anymore. So frustrating. May just have to bite the bullet and get some Arlo's.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 42620
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #8 on: March 21, 2017, 07:35:56 AM »

I'll pass this on to D-Link for review.
Logged
Cable:100mb/3Mb>Motorola SB6183>DIR-880L>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,826L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L and a Boxee.
Go Here>Router Troubleshooting

Richpat

  • Level 2 Member
  • **
  • Posts: 25
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #9 on: March 27, 2017, 10:23:39 PM »

hmmm
I encountered the similar situation with the email. I was very sure all the setting were correct and the test kept failed.

I tried a few reboot and reset, it magically worked without changing anything.

Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 42620
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: DCS-5029L Not Sending Files to FileZilla FTP Server in Azure
« Reply #10 on: March 28, 2017, 06:30:01 AM »

What FW version were you seeing this on?  ???

hmmm
I encountered the similar situation with the email. I was very sure all the setting were correct and the test kept failed.

I tried a few reboot and reset, it magically worked without changing anything.
Logged
Cable:100mb/3Mb>Motorola SB6183>DIR-880L>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,826L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L and a Boxee.
Go Here>Router Troubleshooting