From e54571e702db8e36dee48d4ca33000703579c931 Mon Sep 17 00:00:00 2001
From: mxi1
Date: Thu, 18 Jun 2009 08:10:42 +0000
Subject: [PATCH] -the COPY FILE tab is updated; now it can handle the basic
xdcp command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
xCAT-web/machines/copy_action.php | 26 +++++++++++++++
xCAT-web/machines/copyfiles.php | 55 ++++++++++++++++++++++++++++---
2 files changed, 77 insertions(+), 4 deletions(-)
create mode 100644 xCAT-web/machines/copy_action.php
diff --git a/xCAT-web/machines/copy_action.php b/xCAT-web/machines/copy_action.php
new file mode 100644
index 000000000..f89381b82
--- /dev/null
+++ b/xCAT-web/machines/copy_action.php
@@ -0,0 +1,26 @@
+
+
+$cmd $nr $src $dest";
+?>
+
+
+argument is:$arg
";
+ $xml = docmd($cmd, $nr, array($src, $dest));
+ foreach($xml->children() as $response) foreach ($response->children() as $line) {
+ echo "$line
";
+ }
+?>
+
diff --git a/xCAT-web/machines/copyfiles.php b/xCAT-web/machines/copyfiles.php
index 2bada96c6..387545431 100644
--- a/xCAT-web/machines/copyfiles.php
+++ b/xCAT-web/machines/copyfiles.php
@@ -11,7 +11,9 @@ if(empty($noderange)) { echo "Select one or more groups or nodes.
\n"; exi
?>
-
+