FTP repeatedly trying to create directories, doesn't upload

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
Morgon
Posts: 20
Joined: Thu Jun 09, 2016 11:05 am

FTP repeatedly trying to create directories, doesn't upload

Post by Morgon »

I've enabled the FTP option on my NV4108E so that I could (hopefully) have motion alert records automatically uploaded to a remote location.

I do have technical knowledge, so I set up my FTP account on a dedicated server that I own, and configured the credentials on the NVR. After enabling the option, the NVR feverishly tries to create a folder structure on my server:

Code: Select all


Jun  9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:37 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:39 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:39 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:39 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:39 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
Jun 9 11:05:39 ns pure-ftpd: (user@host) [ERROR] Can't create directory: File exists
So 5+ times per second, it's trying to create the structure {IP}/{date}/{channel}/{hour}. Then it checks to see if any video files have been uploaded (which none have, ever, so far), then quits and tries again. I should also note that there seem to be 3 threads connected (from the NVR) at any given time. It's trying its hardest to create these directories that it's already created repeatedly.

That's one issue. The second issue is that I'm not able to get any motion detection footage to upload. I do get push notifications on my phone, as well as email alerts (which I was hoping would have video attached, but that doesn't either). But no FTP files.

Anything obvious I may have missed?
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: FTP repeatedly trying to create directories, doesn't upl

Post by Melvin »

Hello Morgon,

it could be some compatibility issue with the type of FTP server you are running. So looks like camera is connecting to the server but cannot upload files to it. Please take a look at the below thread and I believe you can find some useful suggestions, especially the passive port settings on the FTP server.

https://amcrest.com/forum/ftp-snapshot-issue-t578.html
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
Morgon
Posts: 20
Joined: Thu Jun 09, 2016 11:05 am

Re: FTP repeatedly trying to create directories, doesn't upl

Post by Morgon »

Hi Melvin,

Yes, I was able to get video and snapshots to upload by enabling/forcing Passive mode - I stumbled across that thread yesterday. However, even with Passive mode enforced, the NVR is still spending a lot of time needlessly trying to create directories.

In the middle of responding to this, I did change from PureFTPD to ProFtpd, and that seems to play better with the NVR.

I am still confused about a couple of things, but I will make new topics for them. Thanks for helping me get this working.
Post Reply