ShareFile-PowerShell icon indicating copy to clipboard operation
ShareFile-PowerShell copied to clipboard

Sync-SfItem System.IO Error

Open valeksyeyev opened this issue 5 years ago • 0 comments

When attempting to sync files from Sharefile to a local drive I get an error - Sync-SfItem : Could not find a part of the path 'File In Question' When outputting to a log file it's a System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath). I logged this issue in an attempt to revisit the problem files later, my goal was to have the syncing continue and ignore the problem path with both -erroraction Continue and $ErrorActionPreference = 'SilentlyContinue' but the sync still stops on the file which has the too long path name. Any way to get the sync to continue on this error?

valeksyeyev avatar Jul 24 '20 14:07 valeksyeyev