testing upload via netbeans