[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.101,1.102

Rich Felker dalias
Sat Mar 11 18:44:19 CET 2006


On Sat, Mar 11, 2006 at 02:01:36AM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Fri, Mar 10, 2006 at 06:49:32PM -0500, The Wanderer wrote:
> [...]
> > >>>If nothing was changed in the last days, you may need to wait up
> > >>>to one hour since upload time to be able to download a file.
> > >>
> > >>I'm not too worried about being able to download at this point (I
> > >>never have before), but I *would* expect to at least be able to get
> > >>a listing of what's there in the directory. Still, as you note
> > >>implicitly, things are not entirely set up yet.
> > >
> > >This behavior is by design.  The incoming directory is write-only so
> > >that it is not abused for warez trading.
> > 
> > As far as not being able to download, yes, I understand that that's
> > intentional and I agree that it's appropriate. I don't think getting a
> > directory listing should involve write access, though, and I was
> > certainly able to do it before.
> 
> touch `cat mywarez.tar.bz2 | uuenpipe | tr '\n' 'n'`
> and upload it :)

Your script has bugs... here's a partial patch:

-touch `cat mywarez.tar.bz2 | uuenpipe | tr '\n' 'n'`
+touch `cat mywarez.rar | uuenpipe | tr '\n' 'n'`
+touch `cat mywarez.r00 | uuenpipe | tr '\n' 'n'`
+touch `cat mywarez.r01 | uuenpipe | tr '\n' 'n'`
[...]
+touch `cat mywarez.r99 | uuenpipe | tr '\n' 'n'`

Afterwards you also need to split the uuencoded strings into NAME_MAX
sized chunks (typically 255 byte) and attach some ordering information
to them so they can be reconstructed. :)

Rich





More information about the ffmpeg-cvslog mailing list