Rename File
EazyLink Server, V4.7, protocol level 03
This request command will rename a file in the Z88 filing system, specified with the complete source filename including path and RAM device, followed by the new local filename (renaming is only allowed in the specified path - not performing an indirect move of the file reference).
An ESC "Y" is returned to the Client if the file existed and was renamed in the Z88 filing system. If the file didn't exist or was in use (or any other OZ file error), an ESC "Z" is returned, indicating failure.
------------------------------------------------------------------------------
Client Server Action
------------------------------------------------------------------------------
<ESC "w"> Rename file
<Original Filename>
<ESC "N">
<New filename><ESC "Z">
-> waiting
rename file(name)...
waiting <- <ESC "Y"> File was renamed successfully.
or
waiting <- <ESC "Z"> File was in use or not found.
------------------------------------------------------------------------------