files

Function Description
addToArchive Creates a .zip archive with the specified files and saves it in the file upload location.
download Returns the contents of a stored file encoded using the Base64 scheme.
listFolder Returns the file names for all the files stored in a known folder.
mergeAsPdf Concatenates multiple files and returns the ID of the resulting file (saved in the file upload location). It supports only .pdf files.
move Moves a file to a known folder.
recycle Moves a file to the $RecycleBin subfolder of the file upload location.
upload Saves a Base64 encoded file to the default upload folder or to a known folder.
getBase64String Returns the content of a stored file encoded using the Base64 scheme.
getBlob Returns a pointer to a stored file.
getByteArray Returns the contents of a stored file in a UTF-8 encoded array.
getDeleted Returns orphan files information (files that have no entity link due to entity changes or removal).
getMimeType Returns the MIME type of a string encoded using the Base64 scheme.
getTabularData Imports tabular data from a plain text (.csv) or Excel (.xlsx) file stored in the file upload location.
getTextReader Stores the content of a file from the file upload location in a WorkflowTextFileReader object which can be read as a string, either line-by-line or all-at-once.
ftos.files.pdf.form.getFields Retrieve form field values from a fillable PDF.
ftos.files.pdf.form.setFields Update form field values in a fillable PDF and save the result to a new file.
ftos.files.pdf.form.setFieldsReadOnly Toggles the read-only flag for all fields in a PDF and saves the result to a new file.
pdf.getPages Extracts a page range from a stored PDF file and saves it to a new PDF file in the file upload location.
pdf.getPagesCount Returns the number of pages of a stored PDF file.
pdf.convertPageToImage Converts a page from a stored PDF file to a .jpg image and saves it to the file upload location.
pdf.encrypt Password protects a stored PDF file and saves it to the file upload location.
pdf.findMatchingRows Finds all occurrences of a keyword in a PDF file and returns the containing rows.
pdf.flatten Flattens a stored PDF file and saves it to the file upload location.
pdf.insertImage Inserts an image in a PDF and saves the resulting file to the file upload location using a specified file name.
pdf.merge Concatenates multiple PDF files into a single one and saves it to the file upload location.
pdf.optimize Reduces the size of a PDF file and returns its content using the Base64 encoding.
pdf.replaceTokens Replaces all occurrences of a specified text string from a stored PDF file and saves the resulting PDF file in the file upload location.
pdf.setPdfType Converts a PDF file to the PDF/A-1a or PDF/A-1b standard and saves it in the file upload location.
pdf.writeText Inserts text boxes in a PDF file and uploads the resulting document in the file upload location.
pdf.writeTextStamp Inserts text stamps in a PDF file and uploads the resulting document in the upload folder.