remove deprecated putfile, use upload file with uploadtoken instead