I have written an FTP program using MFC. I can upload a file no problem, but does anyone know how to set/change to file permissions on a UNIX server, to enable to file to be written or executed by others.
I can set the file permissions locally by using,
CString m_fileName = "c:/my documents/file.txt";
_chmod( m_fileName, _S_IREAD | _S_IEXEC );
but how can I specify the path to the file on the sever?
Any help would be great! Thanks