I am trying to use FTP.Activities but getting the getting the following error message. “With Ftp Session: The argument of type ‘System.Boolean’ cannot be used. Make sure that it is declared on an activity.”
Any help on this would be greatly appreciated. I searched a lot but not getting a hit. And tried setting a variable for ContinueOnError and used a variable but no luck.
Nope, no luck yet. There was another thread got started for the same error. I am at a point now that I have to get this resolved. But the other thread I noticed it is active.
Hi. If the other thread is active can you please link it here?
Meanwhile waiting this would be fixed I replaced FTP Activities with WinSCP Activities which needs Invoke Code but is working fine as a temporary solution.
@Srishti_1512 Good thought for sure. I am able to connect with WinSCP directly from the same laptop to the FTP manually and manually able to perform. What I am not sure is whether a connection from UiPath FTP activity being interpreted differently by the FTP server. I will have to take it up with system admins only to see if anything they can figure it out.
If you already have the private key, convert it to OpenSSH format using
PuttyGen->Load → select the private key → Menu → Conversion-> Export OpenSSH. (make sure to enter “.ppk” file extension manually). Save the Key file.
Now insert the new key path in Client Certificate path.
Hi, I was getting the same error. I though the error would come from the port, host, firewalls, etc. but it actually came from the password. I was just trying to convert the secure string from the credential to string, but not doing it properly. Therefore it couldn’t create the connection.
Used this and the error got solved:
String plainStr = new System.Net.NetworkCredential(string.Empty, secureStr).Password