When you run "dirlist = os.listdir(path)", it is always executed on the
STAX service machine (in its Python interpreter).
Instead, you should use the FS service to get the directory listings. For
example:
machine
'FS'
'LIST DIRECTORY C:\\test'
=-=-=Notice: The information contained in this e-mailmessage and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this