[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7931] property: import testing
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7931] property: import testing |
Date: |
Mon, 24 Oct 2011 17:20:13 +0000 |
Revision: 7931
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7931
Author: sigurdne
Date: 2011-10-24 17:20:13 +0000 (Mon, 24 Oct 2011)
Log Message:
-----------
property: import testing
Modified Paths:
--------------
trunk/property/inc/cron/default/Import_fra_basware_X205.php
Modified: trunk/property/inc/cron/default/Import_fra_basware_X205.php
===================================================================
--- trunk/property/inc/cron/default/Import_fra_basware_X205.php 2011-10-24
16:35:50 UTC (rev 7930)
+++ trunk/property/inc/cron/default/Import_fra_basware_X205.php 2011-10-24
17:20:13 UTC (rev 7931)
@@ -286,7 +286,7 @@
{
if( stripos(
$file_name, 'x205' ) === 0)
{
-_debug_array($file_name);
+ //
_debug_array($file_name);
$file_remote =
"{$directory_remote}/{$file_name}";
$file_local =
"{$directory_local}/{$file_name}";
@@ -296,9 +296,8 @@
$fp =
fopen($file_local, "wb");
fwrite($fp,$contents);
-
+
if(fclose($fp))
-//
if(ssh2_scp_recv($connection, $file_remote,$file_local))
{
echo
"File remote: ".$file_remote." was copied to local: $file_local<br/>";
if(
ssh2_sftp_rename ($sftp, $file_remote,
"{$directory_remote}/archive/{$file_name}" ))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7931] property: import testing,
Sigurd Nes <=