Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Resume and file append

Markus Alexander Kuppe wrote:
Scott Lewis wrote:

1) Change the method IIFTRRE.receive(File) to
IIFTRRE.receive(File,boolean append)
OR 2) Add method IIFTRRE.receive(File,boolean append) and leave
receive(File) (and File, FileTransferJob) the same.

I'm sort of inclined to choose '1' even though this is a breaking API
change as going forward this will be simpler.  Any thoughts/comments?

What about #3? Change the behavior of receive(File) to append but also
have receive(File, bool) for people how want to overwrite rather than
append.

Yes, this is a valid option also, although I was thinking that if receive(File,bool) is there it sort of makes receive(File) redundant...but nothing wrong with redundancy redundancy.

Scott



Back to the top