MoveFile is failing for long file names

MoveFile activity is failing and showing following character limit error.

RemoteException wrapping System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Any inputs to overcome this issue… , would be greatly appreciated.

@rkelchuri

Assign that files paths to string variable and then pass those variables into Source and Destination fields under Move File activity.

Well I did the same but some times my file name will come very large in length. During that time script is failing. I can manage making resume on error as True but that will execute smoothly, it won’t solve my problem . I will miss those long length files to move.
Any solution to increase file character limit…

1 Like

how could you manage to resume?
I am facing the same issue, system.io.path too long exception.
please help me out of this

image

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.