Aron Stansvik wrote:
Hello fellow urlgrabbers, is this intentional behavior?

$ urlgrabber ftp://user:[EMAIL PROTECTED]/non_existing_file
non_existing_file 0 B 00:00
file written to non_existing_file

It happily saves a 0 byte file when I try to fetch a file that isn't
there. Shouldn't it fail on me? How can I make it file when the file
is not present on the server?

Best regards,
Aron Stansvik

Funny enough, i stumbled accross the exact same problem yesterday. I'm currently debugging the cause and i'm down to urllib.py which makes the same mistake and ftlib.py which works correctly and fails with an error 550.

Hopefully i'll have a patch ready tonight. I'll send it upstream to python then, so it might take some more time until that finds it's way down again.

Read ya, Phil

--
Philipp Knirsch      | Tel.:  +49-711-96437-470
Development          | Fax.:  +49-711-96437-111
Red Hat GmbH         | Email: Phil Knirsch <[EMAIL PROTECTED]>
Hauptstaetterstr. 58 | Web:   http://www.redhat.de/
D-70178 Stuttgart
Motd:  You're only jealous cos the little penguins are talking to me.
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to