Troubleshooting
Problem
How do you set your FTP username and password in IBM WebSphere DataPower? If you embed them in the URL you use to attach to DataPower, they may be visible on the wire. Also, DataPower may attempt to parse them.
Symptom
If the FTP-embedded username or password contains reserved characters, the FTP logon may not succeed.
Cause
If a username contains an "@", everything following the "@" may be interpreted as the server address
Resolving The Problem
The best practice for providing user:password pairs to DataPower is to add them to the Basic Auth tab of the User Agent. Locate the User Agent from the service configuration screen by selecting the "..." button to the right of the XML Manager for that service. (Choose * for the URL Matching Expression, or any more specific description of the HTTP Proxy to be used.) Once a user:password pair is saved in the Basic Auth tab, it no longer needs to be provided in the FTP client address (you can use, for example: ftp://myserver:port rather than ftp://user:password@myserver:port)
Was this topic helpful?
Document Information
Modified date:
08 June 2021
UID
swg21461647