FileXtra v2.0.5 for Director 5 & 6

I have written the FileXtra for Director v5 and later for use in my own multimedia projects. I am making it available to anyone who wants it at no charge. I am retaining all rights to the Xtra, the documentation and sample movie. Individuals are free to distribute FileXtra as long as the accompanying documentation and sample movie goes with it.

The package for each platform contains the Xtra(s), documentation and a sample movie. The PC package is in .zip format. The Macintosh package is in Stuffit (.sit) format. A free expander program for both .sit and .zip formats can be downloaded at http://www.aladdinsys.com/.

FileXtra v2.0 has the following methods:

DriveExists - check to see if a drive is present
DriveFreeSpace - get the number of bytes free on the drive
DriveIsCDROM - see if the drive is a CD-ROM drive
DrivesToList - returns a Director list of all of the drives in the system
 
FileExists - check to see if a file is present
RenameFile - rename a disk file
DeleteFile - delete a file
CopyFile - copy a file
GetFileModDate - get the last modified date/time for a file
FileOpenDialog - display a system "file open" dialog box
FileSaveAsDialog - display a system "save file as" dialog box
 
DirectoryExists - see if a directory is present
CreateDirectory - create a directory
DeleteDirectory - delete an empty directory
XDeleteDirectory - deletes a directory tree, including sub-directories and their files
CopyDirectory - copy files from one directory to another
XCopyDirectory - copies an entire directory tree
DirectoryToList - returns the contents of a directory as a Director list


In the Windows version of FileXtra, the FileExists, DeleteFile and CopyFile methods all take wildcards.


To download the Macintosh package, click here.


To download the PC package, click here.


To see the documentation on-line in HTML format, click here.


Mac v2.0.5 bug fix: If a user clicked the Cancel button in the FileOpenDialog() method, the returned string would be garbage characters instead of the empty string (""). The Xtra now correctly returns the empty string when Cancel is clicked.

PC v2.0.4 bug fix: Fixed a bug in DriveIsCDROM() for cases where the passed string is longer than 16 characters.

PC v2.0.3 bug fix: While v2.0.2 fixed the problem with DriveExists(), it did not fix DrivesToList(). This has now been fixed. This problem only manifested itself under Windows 95/NT with the 32-bit Xtra.

PC v2.0.2 bug fix: On Windows 95 machines under certain conditions, such as compressed or partitioned drives, DriveExists and DrivesToList would miss a drive.

Macintosh v1.1 bug fix: The created & modified dates for files created by the copy routines now match those of the source files. "Desktop" and icon information are also now copied to the new file.

PC v1.1 bug fix: On Windows 3.1 systems, the "modified" date for files created by the copy routines now match those of the source files. This now matches the behavior of the 32-bit Xtra (FileUtil.x32).