Testing the FTP or FTPS Server Configuration
Once you have configured an FTP or FTPS server on a remote worker machine, you can test the server configuration by using an FTP client program. If you can connect successfully to the worker machine using this client program, then the publishing service transfers files to and from the worker machine during the publishing process, since the client program and the publishing service use the same client code.
To test your FTP or FTPS configuration, follow these steps.
1. In a Windchill shell, execute the following command to start the WVS FTP client: windchill com.ptc.wvs.server.util.FTP
The shell displays the following information, indicating the client is waiting for input:
Enter the hostname only for regular FTP connection
Prefix the hostname with "ftps://" for FTPS connection
Connection:
2. At the above prompts, enter the hostname of the worker machine that has the FTP server set up and is currently running. If the server is set up as an FTPS server, then be sure to prefix the hostname with ftps://.
3. Enter the username and then the password.
4. At the command prompt, enter the command help, which displays the available FTP commands:
QUIT
BINARY
ASCII
LIST (ls -l)
CD directory
GET remotefile localfile
MGET remotedir localdir
PUT localfile remotefile
MPUT localdir remotedir
MKDIR directory
RMDIR directory
RMALL directory (rm -r directory)
DEL file (rm file)
LS (ls)
PWD (pwd)
H[elp] | h[elp]
open: <server> - OK
5. Try uploading and downloading a file to the server using the PUT and GET commands. If you can upload and download files without any issues, your FTP or FTPS server is configured correctly.
War dies hilfreich?