镭速文件上传

获取资产上传地址

请求地址: https://app.3dcat.live/api/3dcat/transfer/getServer

请求方法: Get

请求参数:

返回结果:

字段名类型说明
clientVersionString插件客户端版本
protocolVersionString协议版本
raysyncTransferRaysyncTransfer镭速相关信息
appGroupIdIntegerapp组id
fileGroupIdInteger文件组id

RaysyncTransfer

字段名类型说明
serverIpString服务器ip
serverPortString服务器端口
proxyIpString代理服务器ip
proxyPortString代理端口
sslPortStringssl端口
wssServiceStringwssService
wssPortStringwss端口

返回内容示例:

{
    "version":"1.0.0",
    "result":true,
    "message":"success",
    "code":200,
    "data":{
        "clientVersion":"5.0.7.8",
        "protocolVersion":"5.0.7.8",
        "appGroupId":"5",
        "fileGroupId":"5",
        "raysyncTransfer":{
            "serverIp":"127.0.0.1",
            "serverPort":2123,
            "proxyIp":"192.168.0.56",
            "proxyPort":32001,
            "sslPort":42443,
            "wssService":42442,
            "wssPort":42442
        }
    },
    "serverTime":1626678048327,
    "requestId":"dc926819cef0fdc4"
}

命令行上传资产

镭速目录/rayfile-c.exe -a serverIp -P serverPort -u userName -w "appId&1&2&12345678" -o upload -s filePath -d /input/userId
字段名类型说明
镭速目录String镭速的安装路径
serverIpString服务器ip
serverPortString服务器端口
userNameString用户名
appIdStringsdk的appId
filePathString上传的文件
userIdStringssl端口

示例

C:\Program Files (x86)\RaySync Client\rayfile-c.exe -a 192.168.0.10 -P 32002 -u test -w "343421234443&1&2&12345678" -o upload -s C:\Users\test\Desktop\444.zip -d /input/5
业务咨询:400-8037-298