The way to upload a file is to put the broker and client files into a zip file first (without any folder) Use the following alias for it.
export URL='localhost:8000'
export FULL_PATH_TO_FILES=''
export DATE_FOR_DEMO='2015-09-01'
alias cu='curl -Fclient=iFast -F"iFast files.$DATE_FOR_DEMO.zip=@$FULL_PATH_TO_FILES" $URL/confo/upload/'
Now you can just upload by calling cu
demo for good confo result
demo for bad confo result