Download

Catalog


GET Open

Request path:

https://probe.aiursoft.com/Download/File/{SiteName}/{**FolderNames}

Request example:

https://probe.aiursoft.com/download/file/{yoursitename}/{yourfoldernames}?PBToken=yourPBToken

Try

Request path:

https://probe.aiursoft.com/Download/Open/{SiteName}/{**FolderNames}

Request example:

https://probe.aiursoft.com/download/open/{yoursitename}/{yourfoldernames}?PBToken=yourPBToken

Try

Request arguments:

Name Required Type
FolderNames Not required Text
SiteName Not required Text
PBToken Not required Text

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}

GET Get file with cache

Request path:

https://probe.aiursoft.com/Download/GetFileWithCache

Request example:

https://probe.aiursoft.com/Download/GetFileWithCache?Length=0&LongLength=0&Rank=0&SyncRoot=yourSyncRoot&IsReadOnly=false&IsFixedSize=false&IsSynchronized=false&fileName=yourfileName&Id=0&ContextId=0&Context=yourContext&SubFolders=yourSubFolders&Files=yourFiles&FolderName=yourFolderName

Try

Request arguments:

Name Required Type
Length Required Number
LongLength Not required Number
Rank Required Number
SyncRoot Not required A magic type!
IsReadOnly Required Boolean
IsFixedSize Required Boolean
IsSynchronized Required Boolean
fileName Not required Text
Id Required Number
ContextId Not required Number
Context Not required A magic type!
SubFolders Not required A magic type!
Files Not required A magic type!
FolderName Not required Text

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}