# Upload On Robot

File **Synchronization** is one of the major features of Robpod Studio.

Synchronization feature allows to **instantly transfer** files between robot and PC, without need of a USB drive or other manual import/export procedures.&#x20;

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FfiYbEuuuR7uEzyORbq4y%2Fsynchronize-white-2.png?alt=media&#x26;token=185552e7-deb4-4aed-9b58-84e138b72095" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Universal Robots" %}
After successful [connection with the robot](https://docs.robpod.cloud/robot/robot-toolbar/connect-the-robot), you  can access file transfer operations from the ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) **Synchronize** ico&#x6E;**.**&#x20;

{% hint style="info" %}
To use the Synchronize function correctly, make sure to configure the [synchronization settings](https://docs.robpod.cloud/synchronization/synchronization-settings) .
{% endhint %}

To upload the current selected robot script on the robot click on ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) **Synchronize ->** ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FcESaCfQwfOLq9tnHGEL7%2Fupload.png?alt=media\&token=e05a4a34-d224-4bf3-8882-7c014275a4c3) **Upload On Robot.** This operation will transfer the script file from Robpos Studio to the connected robot.

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FnZYsk3JYtvU9usevaYaS%2Fimmagine.png?alt=media&#x26;token=2d3fad1f-569c-46b3-9588-047c53186ef9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can upload a robot script also using the ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) Synchronize shortcut on the script editor.

![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2Ftkcf2Gw659sX1TayBIPD%2Fsyncronize-shortcut.png?alt=media\&token=b1688323-c24a-4308-83f9-02b2529e65d5)
{% endhint %}

{% hint style="warning" %}
Existing files with the same name on the robot will be overwritten.
{% endhint %}

The robot script can now be used directly on robot teach pendant. Inside a PolyScope program:

1. Add a **Script** node.
2. Choose **File** option.
3. Click on **Edit**.
4. **Open** the synchronized file.

{% embed url="<https://www.youtube.com/watch?v=rE7TT8eKlVc>" %}

{% hint style="info" %}
You need to setup the script node just once, then you can synchronize the scripts directly from Robpod Studio without opening the script file each time. After file synchronization, Script node inside PolyScope will still show previous version of the script inside the preview, but underlying script file has actually been updated, just run the program to see the changes in actions.&#x20;
{% endhint %}
{% endtab %}

{% tab title="Doosan Robotics" %}
Before perfoming any synchronization, open [**Robpod App**](https://docs.robpod.cloud/appendix/robot-specific-functions/doosan-robotics/installing-robpod-plugin) inside Doosan teach pendant, and keep it open durning the procedure.&#x20;

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F0lwbF3U1UjrCpIcDjOsk%2Fhint_doosan_app_step1.gif?alt=media&#x26;token=060cb8a5-ce22-4bb5-8a0d-364d4e9c7278" alt="" width="563"><figcaption></figcaption></figure>

After successful [connection with the robot](https://docs.robpod.cloud/robot/robot-toolbar/connect-the-robot), you can access file transfer operations from the ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) **Synchronize** ico&#x6E;**.**&#x20;

To upload the current selected robot script on the robot click on ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) **Synchronize ->** ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FcESaCfQwfOLq9tnHGEL7%2Fupload.png?alt=media\&token=e05a4a34-d224-4bf3-8882-7c014275a4c3) **Upload On Robot.** This operation will transfer the script file from Robpos Studio to the connected robot.

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FnZYsk3JYtvU9usevaYaS%2Fimmagine.png?alt=media&#x26;token=2d3fad1f-569c-46b3-9588-047c53186ef9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can upload a robot script also using the ![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2F4eP35WIUFMN2yvUGcaH7%2Fsynchronize.png?alt=media\&token=762a6f7a-935e-4c02-b7c8-d9d9f194bf21) Synchronize shortcut on the script editor.

![](https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2Ftkcf2Gw659sX1TayBIPD%2Fsyncronize-shortcut.png?alt=media\&token=b1688323-c24a-4308-83f9-02b2529e65d5)
{% endhint %}

{% hint style="warning" %}
Existing files with the same name on the robot will be overwritten.
{% endhint %}

The robot script can now be used directly on robot teach pendant.

1. Add a **Robpod Script** command inside Task Editor program.
2. Select the DRL Script to be executed, click **confirm**.

<figure><img src="https://175138337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvxlh3prlGsBGF30oqbYW%2Fuploads%2FZFNA9nlFLVQLgxN2L7mU%2Fimmagine.png?alt=media&#x26;token=35f7f8e6-a11a-427a-8339-2a59d212e8ad" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
You need to setup the script command just once, then you can synchronize the scripts directly from Robpod Studio without opening the script file each time.&#x20;
{% endhint %}

{% endtab %}
{% endtabs %}
