Reports

Navigation:  FileCOPA Manual >

Extended Commands
Previous pageReturn to chapter overviewNext page

A number of extended commands are supported by FileCOPA - NOTE that these will probably only be supported by FTP clients that have a command line interface, or allow the use of custom commands. This will involve typing commands using exactly the correct syntax, which will be familiar to Linux/Unix users, and those who cut their teeth in the (good ol') DOS days. The response is usually shown in the client's log.

These commands are not case-sensitive, but for clarity, these are shown in upper case here.

RMDA (Remove Directory All) - Remove a directory and all of its subdirectories and files

Simple deletion on Linux/Unix systems will not normally do this, files and subdirectories must be deleted manually first. This will do the whole thing in one operation. For example:

RMDA directory123

This will delete directory123 and any subdirectories and files it contains (including files in subdirectories).

NOTE that the directory specified must be in the current working directory, unless a path is specified from the current working directory, thus:

RMDA thisdirectory/thatdirectory/directory123

 

DSIZ (Directory Size) - The number of bytes contained in files in the specified directory, and any subdirectories (and subdirectories of subdirectories). For example:

DSIZ directory123

NOTE that the directory specified must be in the current working directory, unless a path is specified from the current working directory, thus:

DSIZ thisdirectory/thatdirectory/directory123

 

AVBL (Available) - The file space available on the server to this user for uploads. For example:

AVBL directory123

This will show the available space in directory123 and any subdirectories it contains. NOTE directory123 must be a subdirectory of the current working directory. To get the available space in the current working directory and any subdirectories the syntax is:

AVBL /

 

MLST and MLSD

These provide standardised directory listings, which are independent of the operating system of the server machine - in the past there have been problems with different operating systems providing different information.

MLST provides information about an individual file or folder, MLSD provides information about multiple files or folders.

These commands must of course be supported by the FTP client.

 

 

THMB (Thumbnail) - View thumbnails of image files

This is ONLY possible using clients which support thumbnails. At the time of writing the only one we are aware of is FTP Voyager (it is on the View Menu).

 

MFMT (Modification Time) - Change the last modified Date/Time of a file on the server. This will usually be the time the file was first uploaded to the server, but can be changed using this command.

MFMT yyyymmddhhmmss filename.ext

eg: MFMT 20020717210715 mypic.jpg

will change the Modification Date/Time of the file mypic.jpg to the 17th July 2002 at 21:07:15.

If a file of the same name overwrites this file, then its Modification Date will be changed to the Date/Time of the upload.

 

MFCT (Creation Time) - Change the Creation Date/Time of a file on the server. This will be the time the file was first uploaded to the server, but can be changed using this command.

MFCT yyyymmddhhmmss filename.ext

eg: MFCT 20020717210715 mypic.jpg

will change the Creation Date/Time of the file mypic.jpg to the 17th July 2002 at 21:07:15.

This will remain unchanged if a file of the same name later overwrites this file.

EPRT and EPSV - These allow the commands PORT and PASV to be replaced with EPRT and EPSV respectively, in order to communicate data connection endpoint information for network protocols other than IPv4 (eg IPV6).