gfarm_url_section_replicate_from_to() creates a file replica of a file section section of a file gfarm_url from a source host srchost to a destination host dsthost.
File section is an architecture name for executable files, or is a fragment index for a regular file. Note that a fragment index needs to be specified in string without any unnecessary space character and zero padding.
When there is no file copy on a host specified by srchost, gfarm_url_section_replicate_from_to() returns error.
The function terminated successfully.
Insufficient memory was available.
A component used as a directory in gfarm_url does not exist, or a file copy does not exist on the specified source host.
The file gfarm_url cannot be replicated because it is being updated by another process.
An error except the above occurred. The reason is shown by its pointed strings.