Re: getting files with *.* (General questions)

by Jasmine, (7173 days ago) @ Marcos

Marcos,

hi. I have never seen that error before. Are you sure you used proper
arguments with GetFile? You should use LocalPath and RemotePath, in their full expression, such as

c:somefoldersomefile.txt (for LocalPath)
/home/joe/something.txt (for RemotePath)

also, <b>you cannot use wildcards</b> in GetItem.

I suggest you use GetFiles (plural) instead, perhaps that will work for you?

BTW result of ListDir call can be found in ListItem property, or in ListItems event.

Hope I helped.

locked

Complete thread: