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 external FTP server. It's useful for storing documents, images, or any other files in a centralized location accessible via FTP.
Input,
- File: The file you wish to upload. This could be a file generated within your application, or one previously uploaded by a user. (Type: FILE, Required)
- Folder: The destination folder on the FTP server where the file will be stored. (Type: FOLDER, Required)
Output,
This action does not produce any direct output that can be used in subsequent steps. Its primary effect is the successful upload of the file to the specified FTP folder.
Execution Flow,
Real-Life Examples,
-
Example 1: Archiving daily reports
- Inputs:
- File:
DailySales_2023-10-27.pdf(a PDF report generated by the system) - Folder:
/reports/daily_archives(a folder on the FTP server)
- File:
- Result: The
DailySales_2023-10-27.pdffile is successfully uploaded to the/reports/daily_archivesfolder on the FTP server.
- Inputs:
-
Example 2: Storing customer invoices
- Inputs:
- File:
Invoice_CUST12345_2023.docx(a Word document invoice) - Folder:
/customer_invoices/2023(a folder on the FTP server)
- File:
- Result: The
Invoice_CUST12345_2023.docxfile is transferred and saved in the/customer_invoices/2023directory on the FTP server.
- Inputs:
-
Example 3: Backing up user-uploaded images
- Inputs:
- File:
profile_pic_user987.jpg(an image file uploaded by a user) - Folder:
/user_data/profile_images_backup(a folder on the FTP server)
- File:
- Result: The
profile_pic_user987.jpgimage is securely stored in the/user_data/profile_images_backupfolder on the FTP server.
- Inputs: