Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

"WebFtpConnect(FTP: 12007 - The server name could not be resolved)" reported on replay.

"WebFtpConnect(FTP: 12007 - The server name could not be resolved)" reported on replay.

This will occur if the server specified as a parameter in the WebFtpConnect cannot be found by the Silk Performer Contoller. For example in the following function call, if the server called MyFtpServer could not be found then this error will be raised.

WebFtpConnect(hFtp0, "myFtpServer", 21, "MyUserName", "Password");

To ensure you can access this server you should try to ping the FTP server using the IP address or the hostname (whichever you have specified in the WebFtpConnect as mentioned above), to do this go to:

  • START | RUN
  • Type Cmd
  • In the command prompt enter: ping (e.g myFtpServer or 10.100.10.100)

If successful you should see a reply from the machine something like:

Pinging myFtpServer [10.100.10.100] with 32 bytes of data:

Reply from 10.100.10.100: bytes=32 time

If you get any other message such as "request timed out" or "ping request could not find host" then contact your IS department and report the problem.

Old KB# 18203

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:48
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.