Przeglądaj źródła

HPCC-26382 Std.File.Copy does NOT allow copying to foreign file

Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
Jim DeFabia 3 lat temu
rodzic
commit
e121008804

+ 2 - 2
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/Copy.xml

@@ -220,8 +220,8 @@
 
 
   <para>The <emphasis role="bold">Copy </emphasis>function takes a logical
   <para>The <emphasis role="bold">Copy </emphasis>function takes a logical
   file and copies it to another logical file. This may be done within the same
   file and copies it to another logical file. This may be done within the same
-  cluster, or to another cluster, or to a cluster in a completely separate
-  Dali.</para>
+  cluster or to another cluster. The Destination cannot be foreign
+  file.</para>
 
 
   <para>Example:</para>
   <para>Example:</para>
 
 

+ 1 - 1
ecllibrary/std/File.ecl

@@ -607,7 +607,7 @@ EXPORT Despray(varstring logicalName, varstring destinationIP='', varstring dest
 /**
 /**
  * Copies a distributed file to another distributed file.
  * Copies a distributed file to another distributed file.
  *
  *
- * @param sourceLogicalName The name of the file to despray.
+ * @param sourceLogicalName The name of the file to copy.
  * @param destinationGroup The name of the group to distribute the file across.
  * @param destinationGroup The name of the group to distribute the file across.
  * @param destinationLogicalName The logical name of the file to create.
  * @param destinationLogicalName The logical name of the file to create.
  * @param sourceDali    The dali that contains the source file (blank implies same dali).  Defaults to same dali.
  * @param sourceDali    The dali that contains the source file (blank implies same dali).  Defaults to same dali.