This scenario describes a two-component Job which logs in a given HTTP website and then using cookie stored in a user-defined local directory, fetches data from this website.
Drop two tFileFetch components onto your design workspace.
Link the two components as subjobs using a Trigger > On Subjob Ok connection.
Configuring the first subjob
Double click tFileFetch_1 to open its component view.
Select the protocol you want to use from the Protocol list. Here, we use the https protocol.
In the URI field, type in the URI through which you can log in the website and fetch the web page accordingly. In this example, the URI is
In the Destination directory field, browse to the folder where the fetched web page is to be stored. This folder will be created on the fly if it does not exist. In this example, type in D:/download.
In the Destination Filename field, type in a new name for the file if you want it to be changed. In this example, codeproject.html.
Under the Parameters table, click the plus button to add two rows and fill in the credentials for accessing the desired website..
In the Name column, type in a new name respectively for the two rows. In this example, they are Email and Password, which are required by the website you are logging in.
In the Value column, type in the authentication information.
Select the Save cookie check box.
In the Cookie file field, type in the full path to the file which you want to use to save the cookie. In this example, it is D:/download/cookie.
Click Advanced settings to open its view.
Select the Support redirection check box so that the redirection request will be repeated until the redirection is successful.
Configuring the second subjob
Double-click tFileFetch_2 to open its Component view.
From the Protocol list, select http.
In the URI field, type in the address from which you fetch the files of your interest. In this example, the address is
In the Destination directory field, type in the directory or browse to the folder where you want to store the fetched files. This folder can be automatically created if it does not exist yet during the execution process. In this example, type in D:/download.
In the Destination Filename field, type in a new name for the file if you want it to be changed. In this example, source.zip.
Clear the POST method check box to deactivate the Parameters table.
Select the Read cookie check box.
In the Cookie file field, browse to the file which is used to save the cookie. In this example, it is D:/download/cookie.