we are currently creating the path to files and images like so:
if (ftType eq "image") {
var filePath = application.fapi.getImageWebroot() & stRecord[field];
} else {
var filePath = application.fapi.getFileWebroot() & stRecord[field];
}
This assumes that the property holding the file stores it in the FarCry default location (/files for files, /images for images, etc). But, in the cfproperty tag for that field, the ftDestination could be set to an alternate location, ftSecure could be used which stores files in the securefiles dir under the project. These files would not be indexed because our code would not find them.
we are currently creating the path to files and images like so:
This assumes that the property holding the file stores it in the FarCry default location (/files for files, /images for images, etc). But, in the cfproperty tag for that field, the ftDestination could be set to an alternate location, ftSecure could be used which stores files in the securefiles dir under the project. These files would not be indexed because our code would not find them.