# Adding a document from my computer to a shared disk with perspective

**URL:** <https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729>\
**Category:** Ignition\
**Tags:** perspective, vision\
**Created:** [September 4, 2023, 4:31pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729 "2023-09-04T16:31:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianjel\_11](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marianjel\_11](https://forum.inductiveautomation.com/u/marianjel_11)\
**Post date:** [September 4, 2023, 4:31pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/1 "2023-09-04T16:31:01Z")

</div>

I had a document control project in the Vision module, which I need to change to perspective,  
the main functionality is to take a PDF document from any computer and save it in a folder in a shared disk in the "C:", ignition perspective does not have the "file" options in its functions, and I don't know how I could implement this functionality.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 4, 2023, 5:23pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/2 "2023-09-04T17:23:16Z")

</div>

Perspective, being browser based, is subject to browser security practice and features. That means that file upload will be manual and file download to the user's computer will be manual.

> [@marianjel\_11](#):
>
> is to take a PDF document from any computer and save it in a folder in a shared disk in the "C:"

It is not clear what you mean by "in the C:".  
Do you mean you want to save it in the Ignition gateway's (Windows) C: drive or some other network-attached drive?

---

<div class="post-metadata">

**Author:** ![marianjel\_11](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marianjel\_11](https://forum.inductiveautomation.com/u/marianjel_11)\
**Post date:** [September 4, 2023, 5:31pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/3 "2023-09-04T17:31:21Z")

</div>

each computer has a shared disk in the network, it is also shared with the server where the gateway is, and it is necessary that it is saved in that internal path in each one of those computers where the users will have the app. But as it is shared, I think that a gateway script can also be used.

---

<div class="post-metadata">

**Author:** ![marianjel\_11](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marianjel\_11](https://forum.inductiveautomation.com/u/marianjel_11)\
**Post date:** [September 4, 2023, 5:33pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/4 "2023-09-04T17:33:46Z")

</div>

is a network space, that is used with Windows

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 4, 2023, 5:34pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/5 "2023-09-04T17:34:40Z")

</div>

> [@marianjel\_11](#):
>
> ... it is necessary that it is saved in that internal path in each one of those computers where the users will have the app ...

Are you sure that you understand that there is no application running on the client - only the web browser. The application is running on the gateway.

If you search the forum for "shared network drive" you will find many posts such as this one.

> [@Trying to save files/reports in a folder on a shared network drive](https://forum.inductiveautomation.com/t/trying-to-save-files-reports-in-a-folder-on-a-shared-network-drive/18346):
>
> I am trying to save reports/files on a shared network drive. I’ve tried changing the file path to the ip address and just the G:, but i’ve had limited success. When I use the ip address directly, I don’t seem to get any errors in the logs or in the gateway, but I do not see the file present in the shared drive. Does this mean that I need some sort of authentication? access to the drive requires this but I don’t see any viable methods in ignition, and is there another way to do this?

---

<div class="post-metadata">

**Author:** ![marianjel\_11](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marianjel\_11](https://forum.inductiveautomation.com/u/marianjel_11)\
**Post date:** [September 4, 2023, 5:40pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/6 "2023-09-04T17:40:18Z")

</div>

Of course, but I was wondering if with the component to load documents, there was a way to save it in the shared disk in the gateway, I don't know what script could be used for that.

Than you for the response

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 4, 2023, 6:05pm UTC](https://forum.inductiveautomation.com/t/adding-a-document-from-my-computer-to-a-shared-disk-with-perspective/78729/7 "2023-09-04T18:05:12Z")

</div>

You would need to use a File Upload component.

[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+File+Upload](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+File+Upload)  
[https://docs.inductiveautomation.com/display/DOC81/Download+and+Upload+Files](https://docs.inductiveautomation.com/display/DOC81/Download+and+Upload+Files)
