upload new files to class folder

what if m or n is less than 0?