External FTP Storage should request hostname instead of URL

Fix issue #6277