Thanks a lot for the reply Dipak.
My trusted prefixes are set correctly. Here is the content of agent.ini:
[agent]
transferpath=$(wt.temp)\transfer
port=5600
numworkers=1
;
[worker1]
localpath=ftp:
maxinstances=1
username=
prompt=
starttime=80
host=XYZ.com
password=
autostart=false
autoidlestop=
startfromlocal=FALSE
exe=D:\ptc\creo_view_adapters\sw_setup\swworker.bat
remotepath=
hosttype=local
port=601
distributed=false
autoerrorstop=false
availabletime=
shapetype=SOLIDWORKS
autobusystop=
;
Ammar