What have you tried so far? You don't mention if the text file is
available from a URL or if you have to log in to the server to get at
it. This will make a big difference in the patch. Probably the
easiest way is to use an MXJ to do it. JAVA has really nice network
classes for doing all kinds of things.
If you take the time to provide a little more information about your
project (maybe even post a sample patch) users on this list might be
able point you towards the right direction.
Without knowing your intentions I suggest to have a look at jit.uldl.
From the help file: "jit.uld permits file upload to ftp:// URLs, and
download (to file or Jitter matrix) from http://,https://,ftp://
and file:/// URLs."