Can I use a URL instead of the directory path?

/Can I use a URL instead of the directory path?