Now a days internet and mail based file transfer has increased enormously due to this server space required will be highly and also occurs largely. In existing system if we upload the same file which is present in the server also get uploaded and duplication occurs. We used a pattern matching algorithm it eliminate duplication and also to avoid time wastage in uploading the same file present in the server. During file upload pattern will be matched. If pattern matched file won't be uploaded again it will simply matched the existing file it avoids uploading the file again. If pattern doesn't match it allow uploading the file. From this we save the memory space in the server and duplication doesn't occur