FS:RenameFile: Difference between revisions

Steveice10 (talk | contribs)
m Use common types, minor cleanup.
TimmSkiller (talk | contribs)
Add notice for renaming across different archives
 
Line 56: Line 56:


=Description=
=Description=
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. ('''NOTE:''' Moving files to different archives wasn't tested.)
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.
Renaming across different archives is not allowed, as listed below.


=Errors=
=Errors=
Line 68: Line 69:
|-
|-
| 0xC82044BE || When the destination file already exists.
| 0xC82044BE || When the destination file already exists.
|-
| 0xE0C046F8 || When the source archive and destination archive are not the same.
|}
|}