Downloading files from the internet
I'm trying to add a updates checker/down loader to my program I've been developing for some time. I can get downloading files to work, but the data downloaded isn't saved to it's own file and directory. I need to be able to download file(s) and save it to the downloads folder.
Can anyone point me into the right direction?
Re: Downloading files from the internet
What 'downloads folder'?
db
Re: Downloading files from the internet
Sorry, I should have been more elaborate. By downloads folder, I mean the current users downloads folder. If the user downloads the new client, it should go to the downloads folder of the current user.
Re: Downloading files from the internet
Does every OS even have that concept? Just asking.
If you're looking for a way to locate a Windows special folder, you could apply the techniques I suggested in Find windows special folders (Java in General forum at JavaRanch)
db
Re: Downloading files from the internet
I know that Windows has a user downloads folder and so does Ubuntu. I'm almost positive MacIntosh has a downloads folder as well. But, what I need is a tutorial on how to download items from the internet.
Re: Downloading files from the internet
Quote:
I can get downloading files to work
or
Quote:
how to download items from the internet.
Some confusion here. Are you able to download files or not?
Are you trying to use HTTP GET to get files from a http server on the internet?