iftpget wildcards

Started by MW4, July 19, 2016, 03:02:44 PM

Previous topic - Next topic

MW4

Is there some documentation on the use of wildcards in using an iftpget command?

A point in the right direction would be appreciated.

td

I am not aware of any specific documentation with regard the use of wildcard characters in in either of of the functions file parameters.  You can use the iFtpFindInit and iFtpFindNext to retrieve a list of files that match a mask.

You can always  try a few wild cards with iFtpGet and see what happens but I seem to recall that the underlying Windows API  for iFtpGet does not support the use of wild cards.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

This Tech Database example is a bit busy but it illustrates using wild cards with the iFtpFindInt and iFtpFilenext functions to fetch multiple files:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WIL~Extenders/WinInet+iFtpGet~Newer~Files~Only.txt
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade