|
|
Recent News
|
Hotel Software DocumentationOperations with attachments
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Attach files to record | Attach files from the SourceFolder directory that satisfy the FilesMask template to the current record. If you specify replace_by_date as one of the SpecialCommands, and the record already has attachments that have similar names with the attachment you are adding, the attachment will be replaced if the file you want to add was modified later than the current file. RETURN VALUE: Returns the number of attached files. |
Remove attachments | Delete attachments with names that satisfy the FilesMask from the current record. RETURN VALUE: Returns the number of removed files. |
Create attachment | Create an attachment with an AttachmentName name and content specified by a AttachmentTextData text formula. |
FTP: Upload Files | Upload a specified file set to the ftp server. Files are specified with the FileSet parameter and can be both record attachments and ordinary files. You should specify the ftp server and the folder where the files should be uploaded as the RemoteHost/Dir parameter, 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 number of uploaded files. |
FTP: Delete Files | Deleted files from the ftp server if their names satisfy the FileMask template. As the RemoteHost/Dir parameter you should specify the ftp server and 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. |
See Also:
Today"s Poll
What software do use for your inn/b&b/hotel/etc?
Home Page | Contacs | Terms and Conditions | Copyright (C) 2001-2010 Binary Brilliant Inc | |