12-16-2013 10:51 AM
here is the sample program:
filename l12ftps ftp "xmtfile12.xfr"
I need to change the permissions to rw-rw-rw.. or 666. the file is created in SAS (non-UNIX) and ftp'd to a UNIX server where it is finally picked up by someone. Proble is that our process won't pick it up becuase of the permission.
Any help would be greatly appreciated..
12-16-2013 12:12 PM
Does your FTP server support the UMASK command? You could try adding that into the FTP RCMD option.
If you transfer a file with the FTP access method and then cannot read the file, you might need to change the FTP server's UMASK setting.
If the FTP server supports a SITE UMASK setting, you can change the permissions of the file as shown in the following example:
rcmd='site umask 022'
put a $80;