This application is designed to automate the process of duplicating an existing folder on an FTP server, modifying its contents, and provide the user with an updated URL and HTML file. Connecty ensures a streamlined workflow by allowing users to input a source folder 'Pickup', specify a new folder 'Update', and upload files to overwrite the existing 'Pickup' ones seamlessly.
Initialization Phase
Upon launch, we first establish a secure FTP connection, ensuring that all operations can be executed.
The user will provide two key inputs:
1. The existing folder name on the FTP server that serves as the 'Pickup' template.
2. The new folder name where the duplicated content will be stored in an 'Update' folder.
Once the inputs are provided, the application verifies their validity and prepares the necessary environment for file transfer and modification.
Folder Duplication Process
The application first creates the 'Update' folder on the FTP server if it doesn't already exist. It then iterates through all files in the 'Pickup' folder, downloading and subsequently re-uploading them into the 'Update' folder.
During this process, any HTML files within the folder are scanned, and all instances of the 'Pickup' folder name (inside URLs) are dynamically replaced with the 'Update' folder name to reflect the new naming structure. This ensures that all references remain accurate in the duplicated project.
File Upload & Overwrite Mechanism
Users can also upload additional files, allowing them to update assets within the newly created folder. The system ensures:
Overwrite Capabilities - If a file with the same name exists, it is replaced with the newly uploaded version.
Multi-File Support - Users can upload multiple files at once, optimizing efficiency.
Finalization & User Deliverables
Once the duplication and file upload processes are complete, the system provides users with a new URL - a direct link to the newly created web project on the FTP server.
Additionally, the updated HTML is saved to the user's downloads file directory.
Connecty eliminates the need for manual duplication and file management within an FTP server. By automating folder replication, URL updates, and file overwrites, the app optimizes efficiency, reduces human error, and provides a seamless user experience.
The end result is a fully duplicated and updated campaign-ready folder, with all necessary modifications applied, ensuring immediate usability.