Hello everybody,
I tried to copy files from SAS to a WebDAV server via filename webdav. The WebDAV server is not registered in SAS Management Console. I cannot get a connection to the server and do not know why.
I get the ERROR: ERROR: No logical assign for filename OUTPATH.
Please find here the code I used to try:
options msglevel=i;
/*authdomain="Defaultauth"*/
filename inpath '/usr/local/....test.txt';
filename outpath webdav "https://webdav.xxxx.de:8443/webdav/" debug user="xxxx" pass="xxxx";
data _null_;
length msg $ 384;
rc=fcopy('inpath', 'outpath');
if rc=0 then
put 'Copied SRC to DEST.';
else do;
msg=sysmsg();
put rc= msg=;
end;
run;
/* messages in log */
Collection handle creation failed.
ERROR: No logical assign for filename OUTPATH.
ERROR: Error in the FILENAME statement.
rc=10005 msg=ERROR: Open failed for file OUTPATH .
- is it at least possible, what I am trying to do on this way?
- or is there another possibility to reach the aim under this circumstances (proc http ...)?
Any help is appreciated, regards
Catrin