Unable to Upload Files

I figured out the issue.

Under Settings > Media there is a text field saying where to upload the files to, and it was the wrong directory. I just changed it to the right one and it worked.