Upload a file from shell to file sharing hosting

function zalil(){
    if [ -n "" -a -f "" ];then
        if  [ "`du -k |awk '{print }'`"  -lt "51200" ];then
            curl -s -i -F "file"=@"" -F "submit=%20%20Send%20%20" \
                http://zalil.ru/upload/|grep Location \
                | sed "s/Location: /http://zalil.ru/"
        else
            echo file  is large
        fi
    else
        echo file  is empty
    fi
}