File uploading

Files [upload]
{
sourcefile1, targetname1
sourcefile2, targetname2
...
sourcefileN, targetnameN
}

The syntax above uploads a file. All files will be upload to “Files” directory in the database's root using '..\' prefix.

  • upload: Indicates file uploading.
  • sourcefile: Full file name with path.
  • targetname: The desired name for uploading. If already exists than will be overwritten.

Pactical example

Command:

Files [upload]
{
c:\catalog.png, ..\CatalogImage.png
c:\catalog.txt, ..\CatalogDocument.txt
}

Output:
Uploaded in background task. Process can be followed by windows message.


File downloading

Files [download]
{
targetname1, sourcename1
targetname2, sourcename2
...
targetnameN, sourcenameN
}

The syntax above downloads a file. Opposite of uploading.

  • download: Indicates file downloading.
  • targetname: Full file name to download the file to in local machine.
  • sourcename: The selected file for downloading from the database with '..\' prefix.

Pactical example

Command:

Files [download]
{
d:\Downloads\catalog.png, ..\CatalogImage.png
d:\Downloads\catalog.txt, ..\CatalogDocument.txt
}

Output:
Downloaded in background task. Process can be followed by windows message.


File removing

Files [remove]
{
uploadedname1
uploadedname2
...
uploadednameN
}

The syntax above removes files. No physical deletion, only makes file unaccesible.

  • remove: Indicates file removing.
  • uploadedname: File's name to remove from the database.

Pactical example

Command:

Files [remove]
{
CatalogImage.png
}

Output:

FILES [REMOVE]
CATALOGIMAGE.PNG :: DONE



File deletion

Files [delete]
{
uploadedname1
uploadedname2
...
uploadednameN
}

The syntax above deletes files. Changes are irreversible. Physically deleted from the storage.

  • delete: Indicates file deleting.
  • uploadedname: File's name to delete from the database.

Pactical example

Command:

Files [delete]
{
CatalogImage.png
}

Output:

FILES [DELETE]
CATALOGIMAGE.PNG :: DONE



Files [list]

The syntax above shows all uploaded files inside the database.

  • list: Indicates listing out function.

Pactical example

Command:

Files [list]

Output:

FILES [LIST]
CatalogImage.png
CatalogDocument.txt



Files [list, MD5]

The syntax above shows all uploaded files with MD5 hash values inside the database.

  • list: Indicates listing out function.
  • MD5: Indicates the need of MD5 values.

Pactical example

Command:

Files [list, md5]

Output:

FILES [LIST,MD5]
CatalogImage.png*518D5F3401534F5C6C21977F12F60989
CatalogDocument.txt*2E3817293FC275DBEE74BD71CE6EB056



Files [list, CRC]

The syntax above shows all uploaded files with CRC checksum.

  • list: Indicates listing out function.
  • CRC: Indicates the need of CRC checksum.

Pactical example

Command:

Files [list, crc]

Output:

FILES [LIST,CRC]
CatalogImage.png*E100CAFE
CatalogDocument.txt*6F381720



Files [list, fs]

The syntax above shows all uploaded files with their size measured in bytes.

  • list: Indicates listing out function.
  • fs: Indicates the need of file size.

Pactical example

Command:

Files [list, fs]

Output:

FILES [LIST,FS]
CatalogImage.png*731
CatalogDocument.txt*14305



Files [list, dt]

The syntax above shows all uploaded files with their creation date time based on uploading.

  • list: Indicates listing out function.
  • dt: Indicates the need of date time.

Pactical example

Command:

Files [list, dt]

Output:

FILES [LIST,DT]
CatalogImage.png*2016.06.23 10:09:14
CatalogDocument.txt*2016.06.23 10:09:15



Files [md5] {}

The syntax above shows all slected uploaded files's MD5 hash values.

  • md5: Indicates the need of MD5 hash values.

Pactical example

Command:

Files [md5]
{
CatalogImage.png
}

Output:

Files [MD5]
CatalogImage.png*518D5F3401534F5C6C21977F12F60989



Files [crc] {}

The syntax above shows all slected uploaded files's CRC checksum.

  • crc: Indicates the need of CRC checksum.

Pactical example

Command:

Files [crc]
{
CatalogImage.png
}

Output:

Files [CRC]
CatalogImage.png*E100CAFE



Files [fs] {}

The syntax above shows all slected uploaded files's file sizes. Measured in bytes.

  • fs: Indicates the need of file size.

Pactical example

Command:

Files [fs]
{
CatalogImage.png
}

Output:

Files [FS]
CatalogImage.png*731



Files [dt] {}

The syntax above shows all slected uploaded files's creation date time based on upload date time.

  • dt: Indicates the need of date time.

Pactical example

Command:

Files [dt]
{
CatalogImage.png
}

Output:

Files [DT]
CatalogImage.png*2016.06.23 10:09:14