new.py: add upload api,  getweb.py: do some changes