Setting file attributes after download (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hallo,
would you like to post a code snipped how to set file attributes?
I use following construction:
pFtpCom->GetFile(vLclDir,bstrRemotePath);
// ( c: emp , /ftpfile.txt )
The file can be loadet to c: emp
Now, I would change the file RW Attributes to 0444 , how?
My construct throws an exception: (err=10060, timeout)
pFtpCom->SetAttributes(bstrRemotePath,vtMissing,vtMissing,vtMissing,_bstr_t( 0444 ));
// ( /ftpfile.txt , .... , 0444 )
What is here wrong?
Thanks
Jan
[:smile:]
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