home *** CD-ROM | disk | FTP | other *** search
/ FCE Gold Plus / GOLD.iso / pc / fscommand / Xtras / FileXtra4_test.dir / 00008_Script_test_SyncOneWay() < prev    next >
Text File  |  2002-12-20  |  521b  |  18 lines

  1. on test_SyncOneWay
  2.   fxObj = xtra("FileXtra4").new()
  3.   srcPath = "Macintosh HD:Test Folder Name Really Long1:"
  4.   destPath = "Macintosh HD:Aardvark Industries test:"
  5.   recurse = True
  6.   delStrays = True
  7.   
  8.   put "fx_FolderSyncOneWay() returns " & string(fxObj.fx_FolderSyncOneWay(srcPath, destPath, recurse, delStrays))
  9.   
  10.   errCode = fxObj.fx_ErrorNumber()
  11.   put "FX3 error code: " & string(errCode)
  12.   if errCode <> 0 then
  13.     put "    error string: " & fxObj.fx_ErrorString()
  14.   end if
  15.   
  16.   fxObj = 0
  17. end
  18.