I want to store a file from URL and it should be in the default format
suppose i want to save the content of URL=http://www.youtube.com
my objectives is to
1.I want to save the file in the default format it have ,
2.I don't know what the file format but it should save in that .
3.Suppose a Url contain xyz format then it should save in . that format in a .txt file.
4.I want to save this in this format.
I know how to save a file from URL using URL class and writer Classes but do not know how to save in the default format ,
I have tried and the content of http://www.youtube.com
is UNICODE but it is stored in ANSI format so how to save it in that .
So kindly tell me a suggestion....
I am doing my project it will very helpful for me