Re: Setting file attributes after download (General questions)
Jan,
not sure if you want to change local or remote. If it's local, you need to use API. If you want remote, then SetAttributes is correct way, but instead of 444 as string, send 444oct = 292dec, so set 292 into Permissions argument, and that should work.
However, 10060 doesn't somehow fit into your error range.. Are you sure you got 10060 after SetAttributes call?
Kreso
Complete thread:
- Setting file attributes after download - Jan, 2005-10-13, 15:15
- Re: Setting file attributes after download - wodSupport, 2005-10-13, 15:55
- Re: Setting file attributes after download - Jan, 2005-10-13, 16:07
- Re: Setting file attributes after download - wodSupport, 2005-10-13, 17:35
- Re: Setting file attributes after download - Jan, 2005-10-14, 10:42
- Re: Setting file attributes after download - wodSupport, 2005-10-13, 17:35
- Re: Setting file attributes after download - Jan, 2005-10-13, 16:07
- Re: Setting file attributes after download - wodSupport, 2005-10-13, 15:55