title: Creating SQL Server backup file (.bak) with c# to any location
body: <p>I'm trying to write simple application in C# which will allow me to backup, zip and send over ftp my SQL Server database.
  One problem I have encountered is that I'm not able to create the backup file (.bak) if I try to do it in different location than "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Backup" or "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Data" folder. I understand that this is a premission problem. Could someone point me to the resources or write here a short snippet how to programmatically add such a permission to any folder on my system.</p>
  
  <p>Regards
  Kris</p>