Subject: File type restriction
Date: 2012-05-30 12:32:30
From: Anton Kurdyukov
Source: file-type-restriction
----------------------------------------------------------------------
Hello,
We're using the Synchronize() method to upload a folder to server and keep it's contents consistent.
Among other files there is a .htaccess file, which turns out to be blocked on some free hosting services. The server sends a "227 This file type is restricted" response or even closes the connection. Is there any way to resume synchronization afterwards, not throwing an exception?
The first way out that comes to mind is to try and upload a .htaccess file before the synchronization and remove all .htaccess files from source folder if any exception occurs. However, it would be great to have a more elegant and extensible solution.
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index