DATA Step, Macro, Functions and more

How i can list the weddav folder files

Reply
New Contributor
Posts: 3

How i can list the weddav folder files

Hi!

I have a webdav folder, but i don't get file list from base sas code.
Can anyone help for me?

Thanx
Super Contributor
Super Contributor
Posts: 3,174

Re: How i can list the weddav folder files

Sugest you search the SAS support http://support.sas.com/ website for related documentation and supplemental technical reference information - here is a Google advanced search argument to consider using:

webdav folder site:sas.com


Scott Barry
SBBWorks, Inc.
Super Contributor
Posts: 326

Re: How i can list the weddav folder files

Hi

you can browse its contents if your xythos is up. if the set up in your site is the default configuration then you can view it in
http://:8300/sasdav

you might want to check the content mapping tab of the BIP Tree using SAS Management console

Hope this helps

Regards,
Milton
New Contributor
Posts: 3

Re: How i can list the weddav folder files

Hi

Thanks, your replay. But, we use sas9.2 so we haven't Bip tree in SMC.
I would like create base sas code, that is make dataset, that is contains filenames from WEBDAV folder. I haven't idea how write it.

Thanx
Super Contributor
Super Contributor
Posts: 3,174

Re: How i can list the weddav folder files

Explore using the FILENAME PIPE engine to read up and parse the remote-server machine directory.

Suggested Google advanced search argument for DOC and related technical reference material on the subject:

filename pipe engine read directory information site:sas.com

Scott Barry
SBBWorks, Inc.
Contributor
Posts: 48

Re: How i can list the weddav folder files

Do you know where physical path is?

Simple code could be:
data _null_;
path = "&physical_path";
rc = filename("flref",path);
did = dopen("flref");
end = dnum(did);
put end;
do i = 1 to end;
filename = strip(dread(did,i));
put filename;
end;
rc = close(did);
run;

Although, this code does not drill down to sub-directories.
Ask a Question
Discussion stats
  • 5 replies
  • 249 views
  • 0 likes
  • 4 in conversation