You almost certainly do not have write permission to the remote location.
And if you do have write permission there's an extremely serious security hole in your server which allows any cracker to come in and take over at any time.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Maybe if the URL is running a server that accepts connections from a certain port that might be possible.
--
dein vater
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
Hi everyone,
I have some experience on this. You see usually when you are writing to a URL it most definately requires a username and password before you can write to that server.
You see some hosts when you want to use their site they require you to use their own uploading program as their are not using the RFC and using something custom.
But for argument sake let's assume that your host conforms to the RFC.
Now you will need to use the Authenticator class that will allow you to authenticate to you site and save your program there.
But not all servers do this and some of them put the password and username as part of the URL as such
http://username:password@http.fileplanet.com/polo.zip
When you put this address in the URL class you will be able to connect.
A good example is ftp servers as a lot of them use this format wherethe username and password is part of the URL
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
Hi everyone,
I noticed that you said that you were using an applet. I think that this may cause some security restrictions. If i were you i would prefer to do it as an application where there are practically no restrictions
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
Hi everyone,
Did it work??
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10