Hi Thomas,
The first thing to understand (if you don't already) is that the FileSystem extension reads and writes from and to the server. So e.g. any writes to C:\TEMP end up in the C:\TEMP directory of the server.
This also means that the IIS (or Apache equivalent) must be permitted to write at that location (something that's probably not the case by default). This may mean you need to set the Run As user of the eSpace in Service Center to allow IIS to run the eSpace under another than the default user.
That said, the rest is fairly easy. File_WriteBinary has two parameters: "Content", which is the binary content, and "Path" which is the file path including the file name. Do you have any specific goal in mind that you don't know how to do?
The first thing to understand (if you don't already) is that the FileSystem extension reads and writes from and to the server. So e.g. any writes to C:\TEMP end up in the C:\TEMP directory of the server.
This also means that the IIS (or Apache equivalent) must be permitted to write at that location (something that's probably not the case by default). This may mean you need to set the Run As user of the eSpace in Service Center to allow IIS to run the eSpace under another than the default user.
That said, the rest is fairly easy. File_WriteBinary has two parameters: "Content", which is the binary content, and "Path" which is the file path including the file name. Do you have any specific goal in mind that you don't know how to do?