Portsmouth are poised to re-sign Jamie Ashdown to fend off late interest from West Ham, skysports.com understands.
Ashdown was released by Portsmouth at the end of last season following the expiration of his contract.
However, he linked up with the Fratton Park club for their tour of America and he has impressed during pre-season.
With David James having left for Bristol City, Portsmouth boss Steve Cotterill is keen to resolve the club's goalkeeping position and he is ready to offer Ashdown a contract.
Portsmouth have moved quickly to tie down Ashdown after West Ham registered an interest in acquiring his services.
West Ham are searching for a new goalkeeper as they look to provide cover and competition for No.1 Robert Green and they are believed to have sounded out a move for Ashdown.
However, Portsmouth are set to secure Ashdown's future with the keeper expected to pen a two-year deal before the start of the new Championship season this weekend.