home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 January / PCO0197.ISO / filesbbs / os2 / inadv095.arj / PARSEURL.CMD < prev    next >
Encoding:
Text File  |  1996-07-23  |  457 b   |  15 lines

  1. /*
  2. **
  3. ** PARSEURL.CMD - Sample REXX script which is executed whenever an URL needs
  4. **                to be processed. The script must return "" if the URL should
  5. **                not be processed by inetadv, or return the URL to be processed.
  6. */
  7. Parse Arg url
  8.  
  9. if (substr(url, 1, 6) = "ftp://" & right(url, 1) <> "/" & right(url,3) <> "txt") then do
  10.    'start /F /N "FTP Client" f:\download\ncftp\ncftp.exe' url
  11.    return ""
  12. end
  13.  
  14. return url
  15.