GetPictures(FilesPath : Text[100])
DirectoryInfo := DirectoryInfo.DirectoryInfo(FilesPath);
List := DirectoryInfo.GetFiles();
enumerator := List.GetEnumerator();
WHILE enumerator.MoveNext DO BEGIN
FileInfo := enumerator.Current();
IF FileInfo.Extension IN THEN
GetSinglePicture(FileInfo.FullName,FileInfo.Name,FileInfo.Extension);
END;
GetSinglePicture(FilePath : Text[100];FileName : Text[100];Extension : Text[10])
"3TierAutoMgmt".BLOBImport(TempBlob,FilePath,FALSE);
--rest of code where I'm parsing the file name--
File was not found.
Answers
Thanks, Luc!