Working but sometimes it is giving error on transfering files