dcsimg

How do I troubleshoot an FTP data source?

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Cause

Analysis is successful when log files are analyzed locally, but fails when using a FTP data source.

Resolution


Verify the connection to the FTP data source can be made from the Webtrends server by performing the steps below.

1. Open a command line window and type the following command:

ftp

2. Enter the username and password for the FTP server when prompted.

3. After arriving at the FTP prompt, type the following commands in succession, and hit Enter after each:

bin
hash
prompt
pwd

The above commands will change the FTP transfer mode to binary, display hash marks for the progress of a transfer, disable the confirmation prompt, and display the present working directory.

4. Type the following command:

cd [Enter]

5. Type the following commands:

ls[Enter]
get [Enter]

This will begin displaying hashmarks denoting a successful transfer, proof that the FTP connection was successful.

6. In the Webtrends user interface, navigate to Administration > Web Analysis > Options > Analysis and select FTP Options.

7. Verify that FTP Paths is set to use relative paths. The path shown in the data source should match the path specified using the cd command during the FTP session.


To confirm whether or not there issues with FTP connectivity exist, enable FTP data source logging using the following steps:

1. Open Windows Explorer and navigate into the following directory:

\Webtrends\storage\config\wtm_wtx\

2. Open the wtm_wtx.ini file in a text editor.

3. Search for the following section header:

[ftp]

4. Add this line under the [ftp] section:

ftplogfile=./ftp.log

5. Save the changes.

6. Restart the Webtrends services for the changes to take effect.

Subsequent attempts at analysis will log status information related to FTP connectivity. Review this information to determine the cause and if it appears to be related to Webtrends’ functionality, rather than environmental issues, contact Webtrends Technical Support for further assistance.