[an error occurred while processing this directive] Renaming and Moving Files This page is part of the Web Communications Guide to Using FTP. It explains how to "move" files from one directory to another. The FTP Server does not have a "move" command, but using the rename command to rename the file to another location works the same way.
For the purposes of this tutorial, you should have a file you can safely rename located in your "www" directory. If you don't, then install one. If you don't know how to do this, step through Using FTP, an Overview, and come back here later. If your FTP client does not support the "rename" command, then you will need to use the "quote site" command prefix, which causes a command to be issued directly to the WebCom FTP Server, bypassing the client.
To simply rename a file, type "rename [filename] [newfilename]". The file should now have a new name.
To move a file located in your "www" directory to another directory, type "rename [filename] [new/path/to/filename]". The file should now be located in the directory you specified.
Example: rename test.html mydir/test.html (where "mydir" is a sub-directory of the directory test.html is located in)
You may also move and rename files at the same time.
Example: rename test.html mydir/misc.html (where "mydir" is a sub-directory of the directory test.html is located in)
If you do not understand how this is done, see the expanation of what a "path" is.
[an error occurred while processing this directive]