Hi gwilburn:
After your mget......you can combine .txt and .csv files using a .bat
pseudo .bat code:
CLCode:del mycombinedfile.txt copy myfilea*.* + myfileb*.* + myfilec*.* mycombinedfile.txt del myfilea*.* del myfileb*.* del myfilec*.* alternative: del mycombinedfile.txt copy *.txt mycombinedfile.tmp del *.txt rnm mycombinedfile.tmp mycombinedfile.txt
That assumes all the file you retrieve with the MGET are in the same format and start with the same prefix or end with the same file type.Code:strpco strpccmd pccmd('x:\path\mybat.bat') pause(*no) cpyfrmimpf frmstmf('/path/mycombinedfile.txt blaha blah blah
Best of Luck
GLS


Reply With Quote



Bookmarks