in reply to Polymorphic Abstraction of Disk versus FTP File Access: A Stumbling Block
Of course, you can redesign your API.
Another alternative is have FTP::open do what checking it can but delay actually requesting the file until a FTP::read or FTP::seek happens.
A third alternative is to have FTP::seek reopen the file.
- tye (but my friends call me "Tye")
|
|---|