Job configuration upload type FTP (FTP jobs)
Jobs with the FTP upload type provide access to an FTP server.
- In the Project tree, select the component.
- In the menu tab, click on Create or drag and drop the components into the Jobs section.
- In the Job configuration section, check whether the upload type FTP is being displayed.
- Configure the settings for the following sections: General, Notification, Upload and compare, Create a version automatically after job run. The Notification and Create a version automatically after job run sections are only displayed if the necessary settings have been implemented.
FTP settings
- In FTP server, enter the IP address of the server that you want to use to create a connection.
- Go to Connection type and select the connection type from the dropdown list.
-
The FTP client library is set to WodFtp by default. !!! note As FTP is an old protocol, there is a possibility that not all possible FTP servers can be covered by the default library WodFtp. There are however many different possibilities. If your variant is not listed in octoplant, contact our support team for more information.
-
In the Port field, select the port that you want to use for communication. Port 21 is automatically preselected.
- If you would like to use the FTP passive mode, you will need to activate the necessary checkbox.
- Check the checkbox Follow symlinks to back up files in directories that can be reached via symlinks (symbolic links).
- If necessary, enter the login data (Username and Password) of the user that will be used. Depending how your FTP server is configured, this step is optional. An upload can also be performed without a username or password.
- If the data is stored in a subdirectory of the FTP server, specify the path of the subdirectory in the Subdirectory field.
Note
- With these login details, you should be able to access the subdirectory. octoplantsupports up to 10 subdirectories per job.
- When you enter the subdirectory, not only will the entire path to the FTP server in the backup be displayed, but also the most recent directory in the path:
- Example:
- Path to the FTP server:
/file1/subdirectory1/*
- Composition of the backup:
Archive.zip/*
- If you enter multiple subdirectories, the entire directory structure will be included in the backup.
- Example:
- Path to the FTP server:
/file1/subdirectory1/subdirectory2 and /file1/subdirectory1/1234
- Composition of the backup:
Archive.zip/Folder1/Subfolder1/Subfolder2
andArchive.zip/Folder1/Subfolder1/1234
- You can check whether it is possible to log in to the FTP server with the specified login data by clicking the Check button. If the check is not successful, the job will also fail. !!! note
If necessary, you may have to enable the port (set in step 3) in your firewall.
The Advanced section
Enable the Upload only when timestamp is different (reduces network load) checkbox if you wish to verify the timestamp instead of the content of the files when carrying out an upload. This will ensure that only new and edited files are uploaded for the backup. Files without changes will be taken over from the previous backup. This will further limit network traffic.
File specifications and compare settings section
Normally, comparisons are executed using the comparison settings of the component. Job specific modifications can be made in this section.
The table shows the set compare and save behaviour.
- Check the Enable custom configuration for this job checkbox.
- Click on Edit.
- Set new parameters for the comparison and save process in the new open dialog.
When I create a backup using a backup job with the upload class FTP, an error arises. How can this be resolved?
There are two solutions to solve the problem mentioned above:
- Activate passive mode
Job configuration
Executing job (for testing purposes) manually
Note
If errors continue to reappear when you activate the passive mode, we request that you deactivate this and continue with section b). 1. Click on Execute selected jobs once in Execute. 1. Wait until the job has been executed. 1. Specify how you wish the job to be executed:Â According to schedule or Not activated. 1. Open the Start tab. 1. In the Project tree, select the component, whose FTP jobs ended in errors. 1. Select the upload type FTP. 1. In the Jobs table, select the job in which errors occurred during execution. 1. Under FTPÂ settings, enable the Use FTP passive mode option. 1. Save the changes. 1. Start the AdminClient. 1. Enter your username and password. 1. Go to the Jobs module.
- Include VDogUpload.exe in firewall exemptions
The VDogUpload.exe file is (also) executed using FTP during the upload. If the data transfer (which took place due to the execution of the above file) is prevented by the firewall, timeout errors will occur.
The VDogUpload.exe file needs to be added to the firewall’s exception list to prevent this error from reoccurring.
Not all customers employ the same firewall. It is therefore not possible for us to provide any information on this topic.
Refer to your own product’s documentation for more information. Enter the following searches in your search engine:
- exception
- configure exception
- allow exception
- insert exception