Which is checked first when an upload starts, the size or the type? The size. A file that is both too large and of an unaccepted type is refused for its size. More: Uploading, What you declare when starting