I’m using UiPath.FTP.Activities to download files from an SFTP server. When I try enumerate files, I’m receiving the following error:
—> RemoteException wrapping System.NotSupportedException: Unsupported object type encountered.
More specifically, if only the folder exists under the referenced directory, it work successfully, and if the file exists under the directory, an this error occur.
I use the Input Remote Path using a String variable, and the Output Files using a IEnumerable <UiPath.FTP.ftpObjectInfo> variable type on Enumerate Objects activity.
I have already confirmed that winSCP can browse SFTP server files, and that all other activities in UiPath.FTP.Activities are working properly.
What is the cause of this error?