When you need to load the data on DB2 server and the data files reside somewhere else, you need to FTP or copy them to the server.

You can take help from a sample Perl driver program provided in your sqllib/samples/autoloader/loadFtpFtc.pl.