What's new

FTP error 0x80070052

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Luuc Paauw

Occasional Visitor
I installed succesfully entware and kamoj addon
But if i try to create a directory on my usb storage or on my esata storage with windows i get an ftp error 0x80070052 when i copy or move files on the usb/esata or if i want to make a folder with my ftp client.

This error comes on different windows machines and different ftp clients...

When i copy/move or create on the usb share from windows shere everything works fine..

FTP rights form voxel firmware maybe ?
 
Just did some more research...went back to dd wrt firmware
no ftp error on making new directory or copying file to de router storage (usb and sata)

...reverted back to netgear stock...also works
... reverted to latest stock firmware..also works

upgraded to voxel...the error is back..
down-/ upgraded to SF62..SF64..SF66...eroro remauns
back to stock 62...everything works o.k.

something invoxels firmware gives the error..

if i upload the files (instead of copy)..with ftp no errors :(

any idea's ?
 
I narrowed it down , the error is only when making or moving directorys over FTP...i read somebody had the same trouble with an erlier release of Vocel.
I read this article with the eroor of proftpd.... https://forum.vestacp.com/viewtopic.php?t=12415 and has to do with XMKD and XRMD
I think proftpd.conf is the problem but i dont know how to restart/reload proftpd (after changing proftpd.conf)
anyone nows how to restart proftpd ?
 
made a workaround...installed pureftpd from entware (vsftpd is to difficult)...kill proftpd and start pureftpd...all works fine, no errors
 
But if i try to create a directory on my usb storage or on my esata storage with windows i get an ftp error 0x80070052 when i copy or move files on the usb/esata or if i want to make a folder with my ftp client.

It is not quite clear: is your disk is connected to the router or to Windows PC or you connect you drive to both. And what is filesystem. And what device reports "ftp error 0x80070052".

FTP on R7800 (my build). It has two users: admin and guest. Depending on your ReadySHARE settings. But both are not root (i.e. restricted rights). I.e. creation of file/directory depends on current permissions of the current directory where you try to create file/dir. Plus: NG had/has a bug in proftp config generation fixed in my build (something with uncontrolled permissions for guest i.e. guest, user w/o password, was allowed to do everything).

Additional. For ext2/3/4 NG patched Linux kernel allowing 777 permission (all is allowed). Such patches are removed in my build. True Linux permissions. If owner is root for directory with attribute 755 it means that user admin and user guest cannot create file or folder in this directory.

So check the permissions.

Voxel.
 
Hi voxel, i was talking about my storage connected to the router...1 e-sata and 1 usb,
They have all 777 root root permissions.

Only thing that does not work and where i get the error is when i want to make a directory or if i want to copy a directory to the disks with ftp.
if i do it with windows (cifs) no problems but with ftp it does not allow me to create a directory (or ftp copy)....
files btw i can copy with ftp

But if i us the pureftpd as a ftp server on the R7800 (instead of proftpd), there are no problems...only with the proftpd server on the r7800 are the errors

I guess its caused by proftpd and maybe a wrong proftpd.conf...but i don't know how to change the proftpd.conf to make it right nor how i start/restart proftpd with the right conf.
maube you can try figure out wat is wrong in proftpd..



i wonder if i'm the only one with the problem
 
Interesting. You are a bit strange for me. No offence, OK? For me you are some unclear mix of Linux pro and newbie.

1. What filesystem do you use for your USB/ESATA where your files/dirs to copy are localted? ext2/3/4 or NTFS or ... whatever else?
2. What does it mean "They have all 777 root root permissions"? Every folder/file in your /mnt/sd[a-z]1 has 777 permission?
3. What proftpd do you use? From Entware or default from firmware (ReadySHARE)?
4. If from firmware: what username do you use (by FTP, proftpd) to access you disk(s)? Anonymous (guest) or admin?

I can copy as file as folder with files using proftpd from firmware using admin account. From the folder owned by admin,


I guess its caused by proftpd and maybe a wrong proftpd.conf...but i don't know how to change the proftpd.conf to make it right nor how i start/restart proftpd with the right conf.
maube you can try figure out wat is wrong in proftpd..

proftpd from firmware (ReadySHARE from WebGUI) config is:

/tmp/proftpd.conf

it includes second config: /tmp/ftp_anony.conf

These configs are generated by /sbin/cmdftp script.

My /tmp/proftpd.conf (firmware) when no guest is allowed, only admin with password:
Code:
ServerName        NETGEAR-R7800
ServerType        standalone
UseReverseDNS        off
Umask            022
Port            21
MaxInstances        30
AllowOverwrite        on
AuthOrder        mod_auth_unix.c
ScoreboardFile        /tmp/run/proftpd.scoreboard
PidFile            /tmp/run/proftpd.pid
UseEncoding             UTF-8 UTF-8
DefaultServer           on
<IfModule mod_delay.c>
        DelayEngine off
</IfModule>
<Global>
    AllowOverwrite        on
    User            root
    Group            root
    DefaultRoot        ~
    <Directory /tmp/ftpadmin/shares/optware>
    AllowOverwrite    on
        <Limit DIRS>
            DenyAll
            AllowUser admin
        </limit>
        <Limit Read>
            DenyAll
            AllowUser admin
        </Limit>
        <Limit Write>
            DenyAll
            AllowUser admin
        </Limit>
    </Directory>
</Global>
    Include /tmp/ftp_anony.conf
DefaultAddress    192.168.1.1


Voxel.
 
Last edited:
LOL..yes thats right i'm a newbie but thirty years ago i use to manage aix (unix)
i got the same conf file as you do..my storage is NTFS..but also tried it on EXT4 which i created for entware with your help....
i do the testing with smartftp client on my windows if i want to ftp
the reason why i dont use windows (cifs) , which where i can create and copy directorys, is that ftp is much faster...
regarding your questions

1. NTFS but also tried my entware stick (ext4)
2. de directorys on that disks most have 777 and owner root and group root
3 the default proftpd from netgear (started by readyshare configuration ?)
4 i always use admin

strangely now i have installed pureftpd from entware, but after a reboot is still runs and no proftpd runs...so i don't know how to get back to proftpd for testing..suggestion how i can get the fimrware proftpd back ? The error is not important anymore but just eager the find the course...can you create a directory with an ftp client on your NTFS usb...(if you have one...)

i can test it if i change all direcorys to admin:admin with chown, but first have to know how to get back to proftpd als ftp server

i red at one of your firmware replys another user who could not create a directory with ftp and was wondering if he had the same problem...guess most users dont use ftp to work with there storage on R7800


- any plans for building a nzbget or sabnzbd add on ?

by the way, your firmware works great and i'm happy i left dd-wrt...:)
 
strangely now i have installed pureftpd from entware, but after a reboot is still runs and no proftpd runs...so i don't know how to get back to proftpd for testing..suggestion how i can get the fimrware proftpd back ?

Obviously: just uninstall pureftp from Entware.
Code:
/opt/bin/opkg remove pureftpd
reboot

Or (to do it temporary) remove your USB with Entware.

Both daemons are using port #21 so who is started first that is a winner. Second fails.

Voxel.
 
tested with admin owneship...got the error so not working..i stick to pureftpd

found the right place for NZBget...https://nzbget.net/installation-on-linux

simple install runs fine with graphic webpage...25MB/s downloads which is much faster than running on my synology NAS DS111 (8 MB/s downloads) but not as fast on my newest laptop with a lot of cpu and ram...(60 MB/s) which is the max...

Voxel, can you recommand any entware or programs you also use ?
 
tested with admin owneship...got the error so not working..i stick to pureftpd
As I wrote I do not have problems. I use EXT4.

Voxel, can you recommand any entware or programs you also use ?
I use only few. And mainly to provide unification with usual environment I use on Linux PC.

procps-ng-ps: just "ps" but with usual for me set of options/arguments.

procps-ng-top: more informative "top":

upload_2019-9-6_18-52-13.png


and etherwake: it helps me to wake up remote PC in my LAN.

For me it is enough.

P.S.
Well. Yet I helped to my colleague to setup web-server with nginx from Entware on his R7800. He needs remote monitoring of temperature in his country house using USB thermometer attached to R7800. Temperature is published every hour to his website powered by R7800. Important during winter time. Plus video stream, USB webcam attached to R7800, but this is just an add-on to my firmware, not Entware.

Voxel.
 
Similar threads
Thread starter Title Forum Replies Date
L ftp connection to usb NETGEAR AC Routers and Adapters (Wi-Fi 5) 5

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top