DeleteExternalFile.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="DeleteExternalFile">
  5. <title>DeleteExternalFile</title>
  6. <para><emphasis role="bold">STD.File.DeleteExternalFile<indexterm>
  7. <primary>STD.File.DeleteExternalFile</primary>
  8. </indexterm><indexterm>
  9. <primary>File.DeleteExternalFile</primary>
  10. </indexterm><indexterm>
  11. <primary>DeleteExternalFile</primary>
  12. </indexterm>(</emphasis> <emphasis> location, path </emphasis> <emphasis
  13. role="bold">)</emphasis></para>
  14. <informaltable colsep="1" frame="all" rowsep="1">
  15. <tgroup cols="2">
  16. <colspec colwidth="80.50pt" />
  17. <colspec />
  18. <tbody>
  19. <row>
  20. <entry><emphasis>location</emphasis></entry>
  21. <entry>A null-terminated string containing the IP address of the
  22. remote machine.</entry>
  23. </row>
  24. <row>
  25. <entry><emphasis>path</emphasis></entry>
  26. <entry>A null-terminated string containing the path/name of the file
  27. to remove.</entry>
  28. </row>
  29. </tbody>
  30. </tgroup>
  31. </informaltable>
  32. <para>The <emphasis role="bold">DeleteExternalFile </emphasis>function
  33. removes the single physical file specified by the <emphasis>path</emphasis>
  34. from the <emphasis>location</emphasis>. The dafileserv utility program must
  35. be running on the <emphasis>location</emphasis> machine.</para>
  36. <para>Example:</para>
  37. <programlisting format="linespecific">IP := '10.150.254.6';
  38. infile := '/c$/training/import/AdvancedECL/people';
  39. STD.File.DeleteExternalFile(IP,infile);
  40. </programlisting>
  41. </sect1>