Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

Wildcard directory listing

no avatar
User

matt4535

Posts

1

Joined

Fri Sep 14, 2012 8:12 am

Wildcard directory listing

by matt4535 » Fri Sep 14, 2012 8:19 am

I am trying to get a list of files in the directory based on a wildcard. I am using the following syntax client.dir("*test*). It currently doesnt pull any files when I try to do this even though there are files with the word test in it. Are there any better ways to do this?
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Fri Sep 14, 2012 11:05 am

If you're using FTP then the pattern is simply passed directly to the server, so if the server doesn't understand it then you won't get what you expect.

- Hans (EnterpriseDT)

Who is online

Users browsing this forum: No registered users and 92 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign