Hi
I am using below edition. CE - 2019.4.3
and trying to move file from 1 local laptop location to another local laptop location and using Move File activity
From path: srcpath (without codes)
To destination: destpath (without codes)
using srcpath as source path and destpath as destination path of folders
both variables, srcpath and destpath, are of String type and have set default values as “D:\source” and “D:\destination” respectively
For Each activity - type argument has been set to string
but when I run it, it says
Details of error:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.IO.FileNotFoundException: Could not find file ‘D:\source’.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at UiPath.Core.Activities.MoveFile.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I have imported packages from Manage Packages as below but its not resolving…can someone help pl.
- System.IO.FileSystem
- System.IO
- System.IO.FileSystem.Primitives
- System.IO.FileSystem.AccessControl
- System.IO.FileSystem.DriveInfo