You mean from within an application you are writing? This forum is for questions regarding writing software for the iPhone...
Yes,
I am opening safari thru my application...and I wish to download the attachment given on a particular URL and save it on my iphone...can i do it?
No. You will have to use the correct APIs to do it yourself. I'd suggest some reading. In particular you will want to use the NSURLConnection class.
I know about NSURLConnection..The thing is...I had read it somewhere that we cannot save the downloaded applications on iPhone...that is the reason I was asking...anyways thanks for the help
You didn't say anything about applications. No you cannot download and run code (applications) directly or via Safari.
Does the same apply for the normal attachments also, such as documents,images etc?
I know about NSURLConnection..The thing is...I had read it somewhere that we cannot save the downloaded applications on iPhone...that is the reason I was asking...anyways thanks for the help