Recover a text file

Discussion in 'Hosting Services / Control Panel' started by construccion777, Apr 4, 2013.

  1. Using the VisualStudio2102 publish tool many files located in other folder were deleted. I am sure this is a bug of this tool but, Is there a way to recover the deleted information?
     
  2. If this happened within the last few days you could open up a ticket with the support department and ask for an archived copy of your site files, you could use that to recover your deleted text file.
     
  3. martino

    martino DiscountASP.NET Staff

    Its not a bug in Visual Studio or on the server. Its how web deploy works. If you deploy to a directory it will first delete the files in that directory and then publish the web site you created to that same directory.

    It always a good idea to make a backup of your web site files before web deploying. You can use an FTP client like FileZilla. FileZilla can be downloaded here: https://filezilla-project.org/

    To learn how to connect to your site using FileZilla please read our knowledge base article here: http://support.discountasp.net/KB/a311/configuring-filezilla-to-access-your-web-site.aspx

    Once connected with FileZilla you can go ahead and download all of your web site files locally for safe keeping. Then go ahead and web deploy in Visual Studio.
     

Share This Page