Brilliant Database Software - Home
Database software - Online Help System

Online Help System

Back to Brilliant Database Web-Site | Write to Support | Help Index



Operations with attachments


Attach files to database software record
(SourceFolder, FilesMask, SpecialCommands)

Used to attach files from the SourceFolder directory that comply with the FilesMask template to the current database software record. If you specify replace_by_date as one of the SpecialCommands, and the database software record already has attachments that have similar names with the attachment you are adding, the attachment will be replaced in case the file you want to add was modified later than the current file.

RETURN VALUE: Returns the number of attached files.


Remove attachments
(FilesMask)

Used to delete attachments with names that comply with the FilesMask from the current database software record.

RETURN VALUE: Returns the number of removed files.


Save attachments
(FolderName, FilesMask)

Used to save attachments as files with names that comply with the FilesMask from the current database software record on a hard drive/flash to a folder specified by FolderName.

RETURN VALUE: Returns the number of saved files.


Create attachment
(AttachmentName, AttachmentTextData)

Create an attachment with the AttachmentName name and content specified by a AttachmentTextData text formula.


FTP: Upload Files
(RemoteHost/Dir, Login:Password, FileSet)

Used to upload a specified file set to the FTP server. Files are specified in the FileSet parameter and can be both database software record attachments and ordinary files.

  • In the RemoteHost/Dir parameter you should specify the FTP server and the folder where the files should be uploaded, for example, ftp://ftp.mywebsite.com/myfolder.
  • In the Login:Password parameter you should specify the login and password to your FTP server, for example, john:zRtnGfd.

RETURN VALUE: Returns the number of uploaded files.


FTP: Delete Files
(RemoteHost/Dir, Login:Password, FileMask)

Used to delete files from the FTP server if their names comply with the FileMask template.

  • In the RemoteHost/Dir parameter you should specify the FTP server and folder from which the files should be deleted, for example, ftp://ftp.mywebsite.com/myfolder.
  • In the Login:Password parameter you should specify the login and password to your FTP server, for example, john:zRtnGfd.

See Also:

List of Actions