EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Copying within SolFS

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#5813
Posted: 04/09/2008 15:10:51
by tagnal (Standard support level)
Joined: 03/18/2008
Posts: 20

Looking through the documentation/help for the SolfFSStorage methods, I noticed there is no call to copy a file within the SolfFSStorage to another location within the SolFSStorage. What is the recommended approach to doing this?

Would it be best to export the file to a temp directory and then reimport it?

Or using the SolFSStream class, should I just read the stream from the original and use it to write the copy in the new location? (Is it okay to do a read and a write operation at the same time?)

Thanks!
#5816
Posted: 04/10/2008 00:00:16
by Eugene Mayevski (EldoS Corp.)

Quote
tagnal wrote:
Or using the SolFSStream class, should I just read the stream from the original and use it to write the copy in the new location? (Is it okay to do a read and a write operation at the same time?)


Yes, you should do exactly this.

Yes, SolFS is a file system and not an archiver, so it can handle several operations in parallel (in one or several threads).


Sincerely yours
Eugene Mayevski
#5834
Posted: 04/10/2008 12:47:17
by tagnal (Standard support level)
Joined: 03/18/2008
Posts: 20

Thank you for your response =)

Reply

Statistics

Topic viewed 2573 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!