Changes

Jump to navigation Jump to search
1,152 bytes added ,  03:11, 23 November 2014
Created Page
Renames or moves a file. The file is moved from the path srcFileLowPath in archive srcArchive to destFileLowPath in destArchive. ''This call does not work with directories'', use [[FS:RenameDirectory|RenameDirectory]] instead.

=Request=
{| class="wikitable" border="1"
|-
! Index Word !! Description
|-
| 0 || Header code [0x08050244]
|-
| 1 || 0
|-
| 2 || srcArchive.handleLow
|-
| 3 || srcArchive.handleHigh
|-
| 4 || srcFileLowPath.type
|-
| 5 || srcFileLowPath.size
|-
| 6 || destArchive.handleLow
|-
| 7 || destArchive.handleHigh
|-
| 8 || destFileLowPath.type
|-
| 9 || destFileLowPath.size
|-
| 10 || (srcFileLowPath.size << 14) <nowiki>|</nowiki> 0x2
|-
| 11 || srcFileLowPath.data
|-
| 12 || (destFileLowPath.size << 14) <nowiki>|</nowiki> 0x2
|-
| 13 || destFileLowPath.data
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word !! Description
|-
| 0 || Header code
|-
| 1 || Resultcode
|}

=Errors=
{| class="wikitable" border="1"
|-
! Result code !! Description
|-
| 0 || Returned on success.
|-
| 0xC8804478 || When the source file does not exist or is a directory.
|-
| 0xC82044BE || When the destination file already exists.
|}
110

edits

Navigation menu