Upload files to folder
Function: Upload files to folder
This action allows you to transfer a file from your application to a specific folder on an FTP (File Transfer Protocol) server. It's useful for storing documents, images, or any other files in a remote location accessible via FTP.
Input
- File: The actual file you want to send. This could be a document, an image, or any other digital file that has been generated or selected within your application.
- Folder: The specific destination folder on the FTP server where the file will be placed. This folder must already exist on the FTP server.
Execution Flow
Real-Life Examples
Here are some practical ways you can use the "Upload files to folder" action in your applications:
Example 1: Archiving daily reports
Imagine you have a workflow that generates a daily sales report as a PDF. You want to automatically save this report to a specific archive folder on your company's FTP server.
- Inputs:
- File:
DailySales_2023-10-27.pdf(This file would be the output of a previous step in your workflow that generated the report.) - Folder:
FTP/Reports/SalesArchive(This represents a pre-configured connection to your FTP server and a specific folder path.)
- File:
- Result: The
DailySales_2023-10-27.pdffile is successfully uploaded to theSalesArchivefolder within theReportsdirectory on your FTP server.
Example 2: Storing customer invoices
When a customer's order is completed, your application generates an invoice document. You need to store this invoice in a dedicated folder on your FTP server for record-keeping.
- Inputs:
- File:
Invoice_CUST12345.docx(This is the generated invoice document for customer ID 12345.) - Folder:
FTP/CustomerInvoices/Processed
- File:
- Result: The
Invoice_CUST12345.docxfile is uploaded to theProcessedfolder underCustomerInvoiceson the FTP server, ensuring it's securely stored.
Example 3: Backing up user profile pictures
Your application allows users to upload profile pictures. To ensure data redundancy, you want to automatically back up these images to an FTP server.
- Inputs:
- File:
user_profile_john_doe.jpg(This is the image file uploaded by the user "John Doe".) - Folder:
FTP/Backups/ProfilePictures
- File:
- Result: The
user_profile_john_doe.jpgimage is saved to theProfilePicturesbackup folder on the FTP server, providing an off-site copy.