Accessing a password protected shared folder 
Author Message
 Accessing a password protected shared folder

Can anyone tell me if it is possible to programatically write a file to
a shared folder (on another computer) which is password protected?  I
would like to be able to write something like

  CString password = "PASSWORD"
  CFile aFile("\\\\OTHERCOMPUTER\\SHARED FOLDE\\test.txt",
               CFile::modeCreate | CFile::modeWrite, password);
  aFile.Write("This is a test.", 16);
  aFile.Close();

Anyone know how to do this?

Thanks in advance

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Sat, 18 May 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Connect to a Password protected share through program

2. Open a password-protected Access database

3. Error compacting a password-protected Access database

4. SQLConfigDataSource and password protected ACCESS database

5. How to access Password protected .MDB file

6. Password protected Access Database

7. repairing and compacting a password protected ODBC Access db

8. DAO - Password protected .MDB file access

9. Using CDaoDatabase to Open a Password Protected Access DB

10. Accessing a shared folder on the network from a NT service

11. Accessing a shared folder on the network from a NT service

12. Compacting A password protected mdb

 

 
Powered by phpBB® Forum Software