From: Shankar on 1 Oct 2009 21:27 I think DIR and CD options are not compatible, so if you specify a directory you cannot use DIR; Try the "list" command to get file attributes; I tested the following on a Unix server: filename dir ftp '' cd='/test' list user="USERNAME" pass="password" host="SERVER"; data _null_; infile dir; input; put _INFILE_; run; The output contains timestamps and is similar to what you get using "dir" or "ls -l" commands ; Thanks, Shankar
|
Pages: 1 Prev: Rand () function in SAS Next: Looking for VAX/VMS SAS version 5.x/6.x |