hi i have a FileInputStream which is pointing remote file in the server.
how to know the filename and its extension which is pointed by this stream.
if i want to write the remote file in my local computer, i have to know the file name and its extension that's what i want to know