Portál AbcLinuxu, 16. července 2025 07:55


Dotaz: Proftpd+quota preruseni stahovani v realnem case

25.7.2005 18:34 Honza
Proftpd+quota preruseni stahovani v realnem case
Přečteno: 105×
Odpovědět | Admin
Ahoj Vsem.
Mam nastavene Proftpd+quoty pro jednotlive klienty ale je problem pokud treba v TotalCOmanderu kopiruju soubor napr 10MB a na FTP je mozno ulozit treba jen 1MB tak prenos 10MB probehne az do konce a soubor se odstrani...nevyskoci hlaska prenos prerusen nedostatek mista!
Proste se zbtecne kopiruje x minut 10MB soubor.To same pokud jich kopiruju vic...vsechny se skopcijou ale nakonec po skonceni prenosu se zas odstrani.
Dokazete si predstavit klienty kteri vecer pusti prehravani 300MB dat na svuj ucet a rano zjisti ze se jim nenakopirovalo nic.

Muzete me prosim poradit jak utnout prenos v realnem case? Tj. proste hned co data prekroci danou hranici: Diky
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

26.7.2005 09:59 Honza
Rozbalit Rozbalit vše Re: Proftpd+quota preruseni stahovani v realnem case
Odpovědět | | Sbalit | Link | Blokovat | Admin
Pomuze nekdo?
26.7.2005 11:08 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: Proftpd+quota preruseni stahovani v realnem case
Odpovědět | | Sbalit | Link | Blokovat | Admin
Zdá se, že to funguje stejně jako v PureFTPd... Takže tady je vysvětlení, proč to funguje tak jak to funguje (z README u PureFTPd):

With traditional quotas, when a hard limit is reached, it's impossible to
write new data. It's nice for files that are created fastly (operations on
local filesystems) . But it's really frustrating when transfering files
through networks.

Virtual quotas are working in a (somewhat strange) but handy way. When an
user begins an upload, the newly uploaded file can be as huge as his total
quota. It means that if his quota is 10 Mb, he can upload a 10 Mb file, even
if he already has 9 Mb of other files in his directory. The idea is that
while he's uploading the file, he can realize that his quota will be
reached and he can move/compress/delete other files to save space before
the end of the upload. And only after completion of the upload, the quota is
checked. If the quota is still crunched, the newly uploaded file will be
deleted.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.