This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Skip External File on Error & Move Folders

We have an issue that has plagued our system for a while - and is getting worse the more we import into M-Files.

Due to the file length restrictions, M-Files truncates the file name to import this into M-FIles. This is very annoying, especially when we have very long folders. As a result we often have errors like this:

Processing the contents of the external source "2015 (\rhm-srv01\data\B_corres\Job Numbers\2015)" failed.
Processing of the source file "\rhm-srv01\data\B_corres\Job Numbers\2015\15-2536\WIP\Variations\Vary 7 - Additional 100 bricks replaced on roof\Variation 9 .pdf" failed.
Updating the external link of the file "Variation 9.pdf" failed.
Adding the linked file failed.
File "\rhm-srv01\data\B_corres\Job Numbers\2015\15-2536\WIP\Variations\Vary 7 - Additional 100 bricks replaced on roof\Variation 9.pdf" already exists.

Once this error is reached, the import/link of the external files stops.

How I have implemented the import/link process is giving the files a workflow which adds the necessary metadata to the file based on its location, classification folder and names. This also links it with the required object (a job number) . Within the script, is it possible to have it set so that if this error is reached, it skips importing this file and prints the file to a text document on the server. That way I can easily find the file that's causing the havoc and make the neccessary changes at my leaisure without having the import process stopping.

I know, at one point, there was something in the works to allow for longer paths (we have a windows SBS 2011 at the M-Files host). I don't know if any progress on this has been made.


----

On a slightly different note, to reduce the file path, I will be creating a network drive linked to the filder. So instead of \rhm-srv01\data\B_corres\Job Numbers\2015 it'll simply be J:\2015 (reducing about 35 characters). How do I go about moving the entire folders linked to M-Files without messing anything up?

Or could I simply:

[list type=decimal]
  • Stop M-Files server and disable external sources

  • Move the folder to the new location

  • change the locations of the external sources in the admin panel to match the new locations

  • Enable the external sources and start server

[/list]

Would this allow M-Files to simply pick-up where it left off, treating the new folders as where they were originally?
Parents Reply Children
No Data