Maybe you don't understand what upload does? Your "my server URL" cannot be "just URL", it should be a server-side script capable of handling post data with uploads. Did you implement it?
See, for example, this CodeProject article:
File Upload with ASP.NET[
^].
—SA