Hidden files when saving to network share

Post Reply
jasonx
Member
Posts: 28
Joined: Wed Jul 03, 2019 3:03 pm

Hidden files when saving to network share

Post by jasonx »

Code: Select all

When moving files to a network volume the file remains hidden or is not moved
1-Dec-2020
Background
 
When Switch moves files to an output folder, it will first copy the file to a temporary location before deleting the file from the original location, and only afterwards renames the job. This is a safe way of moving files and avoids that files get lost in case of network problems.
 
 
Issue
 
In case 3rd party software occupies the hidden file after initial move, or due to permission issues on a shared drive not allowing the file to be altered after move, as a result it's possible that the initially copied hidden image remains in that state and is not copied to the correct end location, or variations upon that theme.
 
 
Solution
 
With the release of Switch 13 a new property on output folders or Archive Hierarchy elements has been introduced: 'Safe Move'. By default this property value is set to 'Yes', which was the move-behavior as described above and as it used to be in previous Switch releases. From version 13 forward it's now possible should you encounter these moving issues, to set the property to 'No'. In that case, the file will be moved immediately to the destination Folder/Archive Hierarchy, without creating a hidden copy first. 
Additionally, before moving to a network folder it's always advised that no external drive actions need to take place right before moving a file to the external user-managed folder. This means for example having a file duplicated and have the copies move directly to an external output folder could also result in issues as the copy would occur on the shared drive. In such a situation it's better practice to do the duplication first to auto-managed folders, and only after the auto-managed folder which is placed in between, move the file to a user-managed output folder. Similarly to duplication of files, this applies to a traffic-light outgoing connection from some apps, here the file could be copied as well, so again it is better practice to first place an auto-managed folder before moving to the destination user-managed folder.
I am having the issue above. Changing Safe Move to no doesn't make the file not hidden. Have anyone been able to get this to work?
jasonx
Member
Posts: 28
Joined: Wed Jul 03, 2019 3:03 pm

Re: Hidden files when saving to network share

Post by jasonx »

The issue seems to be once the job passes the Archive Hierarchy switch is setting the file to hidden again.

If Archive Hierarchy is the last step then the file is unhidden.
Post Reply