Try to enclose the url with single quotes or double quotes, otherwise the shell tries to interpret the url as a command and this may be the source of your problem.