listing parameters - WeOnlyDo Discussion board

listing parameters (wodSFTP / wodSFTP.NET / wodSFTPdll)

by udtman, Wednesday, June 23, 2004, 07:04 (7241 days ago)

What are the various listing options on the ftp component ?

Me.wodFtpDLX1.ListDir
like listdir a
listdir -aLF

etc...

or how can i find out ?

Re: listing parameters

by wodSupport, Wednesday, June 23, 2004, 10:23 (7241 days ago) @ udtman

Udt,

this really depends on the server. Usually -l and -a (or -la) are used, but there can be many more (such as -d).

I think they correlate with switches for 'ls' command on UNIX (well, more or less) so perhaps you want to read helpfile on some UNIX system for that command?

Regards

Re: listing parameters

by Anyz, Tuesday, August 31, 2004, 09:03 (7172 days ago) @ wodSupport

How can i restrict ListDir to search only current directory not the sub-directoies?

Re: listing parameters

by wodSupport, Tuesday, August 31, 2004, 10:47 (7172 days ago) @ Anyz

Anyz,

I am not sure what your question is. ListDir always requests directory listing from one directory. It cannot go into subdirectories at all. Why do you think it can? What results did you get?

If remote side is UNIX, and you use '-alR' switch then, hmm, perhaps you would go into subdirectories - but I am not sure that is the case.

Regards.

Re: listing parameters

by Anyz, Tuesday, August 31, 2004, 12:29 (7172 days ago) @ wodSupport

sorry it was my fault. Actually directory contains some hidden and system files which were also listed. I got them some files in subdirectories.

Re: listing parameters

by wodSupport, Tuesday, August 31, 2004, 13:42 (7172 days ago) @ Anyz

Anyz,

if you leave ListParams empty, most probably you will not see hidden files. But this really depends on the server implemenation too.

Regards.