Gesus
Junior Member
N5200PRO 3.00.04.5
Posts: 53
|
Post by Gesus on Jan 25, 2010 9:02:00 GMT 7
Hi,
I want to add a line to the PureFTPd configuration file so that it won't truncate my directory listings (I've got about 3,000 directories and it seems to truncate the list at around 2,000).
I've been told I can add the line below to the configuration file and this will stop it doing that.
LimitRecursion 10000 10
But where do I find the configuration file, and where in it do I add that line?
I'm a linux amateur. I know how to connect with Putty, and I know I can type "vi" before a file to edit it, but that's it.
If someone could let me know how I go about adding that line to the PureFTPd config file I would be really grateful.
Thank you for your help.
|
|
|
Post by peterfu on Jan 25, 2010 15:42:31 GMT 7
That will not work - if You use the build in pureftpd server then there is no config file and the startup procedure can't be changed cause it's in a read only area.
If You use my PUREFTPD module, there is a config file, but this option is not implemented. However You can change the startup procedure of the module and add this it as a new startip option (but the syntax is different) - if You have no idea waht You are doing with vi then I would not recommend this.
If You are willing to wait 1 or 2 weeks I will add this option in the module
br Peter
|
|
Gesus
Junior Member
N5200PRO 3.00.04.5
Posts: 53
|
Post by Gesus on Jan 29, 2010 12:10:59 GMT 7
Hey Peter,
Thanks for your help and for the great module.
I do use your module and I'm happy to wait a couple of weeks until you add this feature.
Really looking forward to it, FTP is my primary tool for transferring to/from the Thecus.
Cheers.
|
|
|
Post by peterfu on Jan 31, 2010 4:43:01 GMT 7
The new module version is now available (2.00.9) - I have added a few more options: - '-K': Allow users to resume and upload files, but *NOT* to delete or rename them. Directories can be removed, but only if they are empty. However, overwriting existing files is still allowed (to support upload resume) . If you want to disable this too, add -r (--autorename) . - '-L <max files>:<max depth>': To avoid stupid denial-of-service attacks (or just CPU hogs), Pure-FTPd never displays more than 2000 files in response to an 'ls' command. Also, a recursive 'ls' (-R) never goes further than 5 subdirectories. You can increase/decrease those limits with the '-L' option. - '-R': Disallow users (even non-anonymous ones) usage of the CHMOD command. On hosting services, it may prevent newbies from making mistakes, like setting bad permissions on their home directory. Only root can use CHMOD when -R is enabled. - '-r': Never overwrite existing files. Uploading a file whoose name already exists cause an automatic rename. Files are called xyz, xyz.1, xyz.2, xyz.3, etc. Available via the following link: www.futterknecht.at/index.php/downloadsep/docpage/cat_view/34-thecus-n5200/35-n5200-modules/38-n5200-pureftpd-modulebr Peter
|
|
Gesus
Junior Member
N5200PRO 3.00.04.5
Posts: 53
|
Post by Gesus on Feb 8, 2010 17:58:29 GMT 7
Thank you!!
Hey I also noticed that you take care of the Twonky module.. Would you be able to add last.fm support in its next update?
Thank you for two great modules (the only two I use) and great support.
[SOLVED]
|
|
|
Post by peterfu on Feb 9, 2010 1:25:42 GMT 7
I have some issues with the next release of the twonkymedia, because new libraries are needed and I have not figured out whats the problem at the moment br Peter
|
|
|
Post by stefanried on Mar 27, 2010 18:23:26 GMT 7
Hi PeterFU, I am running the N3200Pro with the 1.00.06 Firmware. This includes now the pure-ftpd v1.0.21. I am wondering if I might switch to the FTP module you built. However, I have still the problem that dir ftp-dir command shows the links in /raid/ftproot as links and not as directories like this: ftp> dir 200 PORT command successful 150 Connecting to port 2151 drwxr-xr-x 3 0 0 4096 Feb 25 11:48 . drwxr-xr-x 3 0 0 4096 Feb 25 11:48 .. lrwxrwxrwx 1 0 0 12 Jan 24 22:14 Bilder -> /raid/Bilde While this is not a problem to most ftp client programs, it is confusing the built-in ftp client in the Mac-Finder. The Mac OX is resolving the links locally which is totally stupid, but I don't know any way to change the behavior on Macs that like to browse the Thecus ftp server. Does your ftp module show the symbolic links to other directories as real directories for the ftp client? PS: is the module also available for the N3200Pro, I see only N5200 here www.futterknecht.at/index.php/downloadsep/docpage/cat_view/34-thecus-n5200/35-n5200-modules/38-n5200-pureftpd-module?start=10Thanks a lot. Stefan
|
|
|
Post by peterfu on Mar 27, 2010 20:26:05 GMT 7
Hi Stefan,
sorry, the module is not available for the N3200pro. I have a N5200 and a N7700 and build the modules for this architecture - the modules run on other Thecus models with x86 processor architecture.
The module uses also the standard ftp directories (links), but You can set individual home folders for each user.
Seems fpr me, that this is an isue of the build in ftp client, cause using links on ftp servers is a very common thing. May be You can change this somewhere in the settings, but I have no Apple box to test this.
br Peter
|
|
|
Post by wolverex on Aug 13, 2010 9:14:38 GMT 7
hey guys,
May be related to the Config file but problem is not directly linked yet:
Why is it when using the PureFTPd mod, my transfer speeds are extremely slow? I write to the NAS at 4-6 MB/sec. I get 30-40 MB/sec when I use the firmware's built in FTP server.
I need the mod as it allows setting the Passive Port range. The original firmware is really stupid, how can you not allow users to change the passive port range?!
|
|
|
Post by peterfu on Aug 21, 2010 16:29:29 GMT 7
Should not be like that - I have the same speeds - have You limited the speed in the configuration ? br peter
|
|