Though the FTP Task is intended for file transfer process, the FTP Task Editor
does not give access to the file.
8. In the Browse for file window, click on mozilla-video and click on the OK
button to close this window.
This will bring you back to the FTP Task Editor and the RemotePath is now
displaying, /pub/mozilla-video.
9. Now, modify this line to indicate the file, such as jeune1.swf as in /pub/
mozilla-video/jeune1.swf.
10. Click along the line item Local Path and choose to create a folder OrstEdu as
a repository for the downloaded files, as in the previous example.
This completes the FTP task configuration.
Chapter 17
[ 261 ]
Step 4: Build and Execute the New FTP Task
1. Build the project and execute the newly configured task.
The program runs, and after execution, the file is transferred. You may now
look up the OrstEdu directory to review the file.
Summary
This chapter described the usage of the FTP task. Two examples were considered.
In the first example, a graphic file on the hard drive was transferred to the root
directory of the FTP site. In the second example, a video file was downloaded to a
directory on the hard drive from an Internet public site. The FTP Task Editor GUI
correctly identifies the directory structure but did not locate the files. One needs to
know the file to download before using the FTP task. It may be noted that the Remote
Path that the GUI locates depends on the Operation you choose for the File Transfer.
Pages:
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184