{"version":"1.0","provider_name":"\u0427\u0443\u0434\u043e{\u0432\u0438\u0449\u043d\u044b\u0435} \u0437\u0430\u043c\u0435\u0442\u043a\u0438","provider_url":"https:\/\/miracle.rpz.name","author_name":"MiRacLe","author_url":"https:\/\/miracle.rpz.name\/author\/miracle\/","title":"phing.tasks.ext.FtpUploadTask","html":"\u0412\u044b\u0447\u0438\u0449\u0430\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043e\u0442 \u0441\u043f\u0430\u043c\u0430 (\u0434\u043e\u0441\u0442\u0430\u043b\u0438, \u0447\u0435\u0441\u0442\u043d\u043e\u0435 \u043e\u043a\u0442\u044f\u0431\u0440\u044f\u0442\u0441\u043a\u043e\u0435) \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 <a href=\"http:\/\/miracle.rpz.name\/2006\/09\/20\/phing-is-not-gnu\/#comments\">\u043d\u0435\u0437\u0430\u0441\u043b\u0443\u0436\u0435\u043d\u043d\u043e \u043f\u043e\u0437\u0430\u0431\u044b\u0442\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441<\/a> \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430 <a href=\"http:\/\/altern.ho.com.ua\/\">altern<\/a>-a \u043f\u0440\u043e \u043e\u0431\u0435\u0449\u0430\u043d\u043d\u044b\u0439 ftpupload-\u0442\u0430\u0441\u043a. \u0412\u044b \u0441\u043f\u0440\u043e\u0441\u0438\u043b\u0438 - \u043c\u044b \u043e\u0442\u0432\u0435\u0442\u0438\u043b\u0438: \u043d\u0435\u0442, \u043c\u043d\u0435 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e - \u0434\u0435\u043b\u044e\u0441\u044c.\r\n\r\n\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c \u043a\u043b\u0430\u0441\u0441 <a href=\"http:\/\/miracle.rpz.name\/shared\/phing\/FtpUploadTask.html\">FtpUploadTask.php<\/a>. \u0418 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f.\r\n\r\n\u041a\u043e\u0434 \u043f\u043e \u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0444\u0430\u0439\u043b %PHING_HOME%\/classes\/phing\/tasks\/ext\/FtpUploadTask.php (\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f \u0432\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 <a href=\"http:\/\/phing.info\/\">Phing<\/a> \u0438 \u043e\u043d \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u0433\u043e\u0442\u043e\u0432 \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e).\r\n\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 include_path <a href=\"http:\/\/pear.php.net\/package\/Net_FTP\/\">PEAR::Net_FTP<\/a>, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c <a href=\"http:\/\/php.net\/ftp\">php-extension FTP<\/a>.\r\n<blockquote><strike>\u041d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443 \u0432\u0438\u043d\u0434\u0443\u0437\u044f\u0442\u043d\u0438\u043a\u0430\u043c<\/strike>\r\n<i>\u041f\u0435\u0440\u0432\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0430\u0441\u0441\u0430 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:\r\n&gt;pear install --all-deps net_ftp\r\n\u0412\u0442\u043e\u0440\u043e\u0435 \u0432 \u0432\u0438\u043d\u0434\u043e\u0432\u043e\u043c php \u0443\u0436\u0435 \u0432\u043a\u043e\u043c\u043f\u0438\u043b\u0435\u043d\u043e.<\/i><\/blockquote>\r\n\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 task (\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043d\u0430 \u043c\u043e\u0451\u043c \u0442\u0435\u0440\u0440\u0438\u0431\u043b \u0438\u043d\u0433\u043b\u0438\u0448 ):\r\n<table class=\"std\">\r\n<thead>\r\n<th>Name<\/th>\r\n<th>Type<\/th>\r\n<th>Description<\/th>\r\n<th>Default<\/th>\r\n<th>Required<\/th>\r\n<\/tr>\r\n<tr>\r\n<td>host<\/td>\r\n<td>String<\/td>\r\n<td>Hostname.<\/td>\r\n<td>n\/a<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>port<\/td>\r\n<td>Integer<\/td>\r\n<td>Ftp server's port.<\/td>\r\n<td>21<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>username<\/td>\r\n<td>String<\/td>\r\n<td>Ftp user<\/td>\r\n<td>n\/a<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>password<\/td>\r\n<td>String<\/td>\r\n<td>Ftp password<\/td>\r\n<td>n\/a<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>targetDir<\/td>\r\n<td>String<\/td>\r\n<td>Path to destination directory<\/td>\r\n<td>. (FTP-user's home)<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>mode<\/td>\r\n<td>String<\/td>\r\n<td>Upload FTP-mode.<\/td>\r\n<td>Binary<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>cleanDir<\/td>\r\n<td>Boolean<\/td>\r\n<td>Cleanup target directory before upload?<\/td>\r\n<td>False<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>overwriteExisten<\/td>\r\n<td>Boolean<\/td>\r\n<td>Overwrite existen files?<\/td>\r\n<td>True<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>passiveMode<\/td>\r\n<td>Boolean<\/td>\r\n<td>use passive or active ftp-data connection<\/td>\r\n<td>True<\/td>\r\n<td>No<\/td>\r\n<\/tr>\r\n<\/table>\r\n\u0418 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f : \u043f\u0440\u0438\u0432\u043e\u0436\u0443 \u0447\u0430\u0441\u0442\u044c build.xml \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u0443\u044e \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0442\u0430\u0441\u043a\u0430.\r\n<pre class=\"xml:nocontrols\">\r\n&lt;!-- \/\/skip --&gt;\r\n&lt;taskdef classname=\"phing.tasks.ext.FtpUploadTask\" name=\"ftpupload\" \/&gt;\r\n&lt;!-- \/\/skip --&gt;\r\n&lt;target name=\"deploy\"&gt;\r\n   &lt;ftpupload host=\"example.com\" username=\"joe\" password=\"$ecr3t\" targetDir=\"\/remote\/project_home\/\"&gt;\r\n      &lt;fileset dir=\"\/path\/to\/local\/project\"&gt;\r\n         &lt;include name=\"**\" \/&gt;\r\n         &lt;exclude name=\"**\/*.dist\" \/&gt;\r\n         &lt;exclude name=\"src\/*\" \/&gt;\r\n      &lt;\/fileset&gt;\r\n   &lt;\/ftpupload&gt;\r\n&lt;\/target&gt;\r\n&lt;!-- \/\/skip --&gt;\r\n<\/pre>\r\n\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f taskdef \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0432 defaults.properties, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0442\u0430\u0441\u043a\u0430\u0442\u044c \u0435\u0433\u043e \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442.\r\n\r\n\u0418 \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0441\u044c - \"\u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430 \u0442\u0440\u0438 \u0447\u0430\u0441\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0437\u0430 \u043f\u044f\u0442\u044c \u043c\u0438\u043d\u0443\u0442 \u0442\u043e, \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0434\u0435\u043b\u0430\u043b \u0431\u044b \u0446\u0435\u043b\u044b\u0439 \u0447\u0430\u0441\u2026\"  ;o)\r\n\r\nTechnorati Tags: <a href=\"http:\/\/technorati.com\/tag\/php\" rel=\"tag\">php<\/a>, <a href=\"http:\/\/technorati.com\/tag\/phing\" rel=\"tag\">phing<\/a>, <a href=\"http:\/\/technorati.com\/tag\/deploy\" rel=\"tag\">deploy<\/a>","type":"rich"}