Client API: Does it work with filestreams?

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Client API: Does it work with filestreams?

Post by ismangil » Wed Aug 03, 2005 6:21 am

The situation is, using the API, I will be checking in xml documents, received as an in memory object.

All the example uses a physical path. This means that I will have to write the xml as a disk file.

Is it possible for the API to use filestreams instead or do they really have to be physical files?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Aug 03, 2005 7:55 am

The API currently only supports disk files. You would need to write wrapper functions to convert the file streams into disk files before calling the API.

ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Post by ismangil » Wed Aug 03, 2005 8:11 am

dan wrote:The API currently only supports disk files. You would need to write wrapper functions to convert the file streams into disk files before calling the API.
Thanks for the quick reply as always.

Locked