Scripted FTP Upload with special character in password

Some days ago I ran into the problem, that the customer had special characters in his password on IBM Connections Cloud. For an automated upload to the IBM Integration Server I created some scripts to automate the upload.

After creating a TDI assembly line, installing WinSCP and setting up an automated upload I noticed, that you script could not login. In my case it was the character “+”.

I started to investigate and searched for a solution and located the following site, which helped me:

After replacing the character “+” with “%2B” the scripted login worked fine.