<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Move File From One Repository To Another in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Move-File-From-One-Repository-To-Another/m-p/849893#M60851</link>
    <description>&lt;P&gt;Use the following service...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FileTransferSubsystem &amp;gt; Copy&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// result: INFOTABLE dataShape: "FileTransferJob"
let result = Subsystems["FileTransferSubsystem"].Copy({
	async: undefined /* BOOLEAN */,
	sourceRepo: undefined /* STRING */,
	metadata: undefined /* JSON */,
	targetRepo: undefined /* STRING */,
	targetFile: undefined /* STRING */,
	targetPath: undefined /* STRING */,
	queueable: undefined /* BOOLEAN */,
	sourceFile: undefined /* STRING */,
	sourcePath: undefined /* STRING */,
	timeout: undefined /* INTEGER */
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sathishkumar_C_0-1674017315565.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/74327i2F9D223C2B68E0E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sathishkumar_C_0-1674017315565.png" alt="Sathishkumar_C_0-1674017315565.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 05:02:32 GMT</pubDate>
    <dc:creator>Sathishkumar_C</dc:creator>
    <dc:date>2023-01-18T05:02:32Z</dc:date>
    <item>
      <title>Move File From One Repository To Another</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Move-File-From-One-Repository-To-Another/m-p/849794#M60847</link>
      <description>&lt;P&gt;What function do I call to move a file from one repository to another. I have tried 'MoveFile', but that only seems to work when moving files from directory to another inside the same repository. I want to utilise the same functionality that can be accessed through the backend GUI in the repositories from within my service. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mattie555_0-1673975494390.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/74295i178BFED8981351F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mattie555_0-1673975494390.png" alt="Mattie555_0-1673975494390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="headerbuttontrackingcode"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 17:12:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Move-File-From-One-Repository-To-Another/m-p/849794#M60847</guid>
      <dc:creator>Mattie555</dc:creator>
      <dc:date>2023-01-17T17:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Move File From One Repository To Another</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Move-File-From-One-Repository-To-Another/m-p/849893#M60851</link>
      <description>&lt;P&gt;Use the following service...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FileTransferSubsystem &amp;gt; Copy&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// result: INFOTABLE dataShape: "FileTransferJob"
let result = Subsystems["FileTransferSubsystem"].Copy({
	async: undefined /* BOOLEAN */,
	sourceRepo: undefined /* STRING */,
	metadata: undefined /* JSON */,
	targetRepo: undefined /* STRING */,
	targetFile: undefined /* STRING */,
	targetPath: undefined /* STRING */,
	queueable: undefined /* BOOLEAN */,
	sourceFile: undefined /* STRING */,
	sourcePath: undefined /* STRING */,
	timeout: undefined /* INTEGER */
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sathishkumar_C_0-1674017315565.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/74327i2F9D223C2B68E0E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sathishkumar_C_0-1674017315565.png" alt="Sathishkumar_C_0-1674017315565.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 05:02:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Move-File-From-One-Repository-To-Another/m-p/849893#M60851</guid>
      <dc:creator>Sathishkumar_C</dc:creator>
      <dc:date>2023-01-18T05:02:32Z</dc:date>
    </item>
  </channel>
</rss>

