[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug wput]



selon Hagen Fritsch <hagen@itooktheredpill.dyndns.org>:

> Hello,
> i'm very sorry that you lost these data and i think i'll add an appropriate
> warning message for such cases, but USAGE.urlhandling states:
> ftp://host/directory wput/ don't do this! won't work
>
> Well, but a warning message should be possible.
> Regards,
> Hagen



I know where the error came from :

this mail  I had had misunderstood (you sent me 23/11/2004)

Hagen Fritsch a écrit :

Am Dienstag, 23. November 2004 12:01 schrieben Sie:


I love this tool :) really
the only stuff it lacks it's a kind of pattern matching like
wput ftp://qlksdqlksdqs.qsdqs/*.jpg


Yes, but you could use wput *.jpg ftp://host/ and it would do for the most cases.







I understand the problem...
in fact.... when doing
wput FILES ftp://URL/DIR

if DIR exists fine, it will copy files into remote DIR
if DIR doesn't exist it will copy FILES and rename as  DIR

then it the same with FILE_PATTERN


I just read accross cp man page and I think the actual behavior of wput is correct (at least, say consistent)



Cheers


Djamé