Your expression is not good as we can no longer accept uppercase in URL.
you can also handle sftp too