That could a limitation of FTP protocol. In the end FTPDir executes dir or ls command on the remote host and parses the results retuened by your host operation systems. Returned file names are separated by spaces. So here you go... Naming files with spaces often creates undesired side effects in legacy protocols and systems. Consider renaming your files or using a different method such as 24x7 Remote Agents (for Windows) or 24x7 RA servers for (for UNIX and Linux). Those methods do no have such limitations. I dono' know what you do but maybe you can also use some other methods. Take a look at Telnet, function, database stored procedures, etc... : When using FTPDir with the file mask such as "file name" : where "file name" exists in the ftp current directory : the call fails to find any files. : When using FTPDateTime with a file name such as "file name" : the call fails to find the file. : I believe the space in the file "file name" is causing : the problem. Can someone verify that for me. : Thanks : - : Michael Leslie : CoAMS Inc.
|