# Referencing a shared folder on server

**URL:** <https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666>\
**Category:** Classic Servoy\
**Created:** [January 30, 2008, 12:51pm UTC](https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666 "2008-01-30T12:51:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LOGIsoft](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@LOGIsoft](https://forum.servoy.com/u/LOGIsoft)\
**Post date:** [January 30, 2008, 12:51pm UTC](https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666/1 "2008-01-30T12:51:34Z")

</div>

Hi all,

Is there a way I can specify a server folder location for uploading and displaying images remotely, using the current tools (ie no external plugins)? This is to prevent having these images stored directly in the database and bloating it unnecessarily. It is also in the context of a remotely-hosted solution… ![:?:]( "Question")

TIA,

Ben

---

<div class="post-metadata">

**Author:** ![Dirc](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dirc](https://forum.servoy.com/u/Dirc)\
**Post date:** [January 30, 2008, 1:05pm UTC](https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666/2 "2008-01-30T13:05:48Z")

</div>

Something like FTP or drivemapping?

---

<div class="post-metadata">

**Author:** ![jbader](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jbader](https://forum.servoy.com/u/jbader)\
**Post date:** [January 30, 2008, 3:09pm UTC](https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666/3 "2008-01-30T15:09:18Z")

</div>

Hi Ben,

Regarding viewing images [in Servoy] that live on a remote server/folder, I could send you a code snippet that shows you how to access images thru http/ftp etc. without any plugins or other third-party code. Would that be helpful?

BTW you can use the HTTP plugins getMediaData fx to get images using the http protocol.

Regarding uploading, you have options there too sans plugins. What protocols would you want to use? FTP, SCP etc.?

Hopefully I understood your post ![:?:]( "Question") ![:?:]( "Question")

---

<div class="post-metadata">

**Author:** ![jbader](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jbader](https://forum.servoy.com/u/jbader)\
**Post date:** [January 30, 2008, 3:25pm UTC](https://forum.servoy.com/t/referencing-a-shared-folder-on-server/8666/4 "2008-01-30T15:25:35Z")

</div>

I just read my post, not that clear…

What I mean is if you store a server path in a global (e.g. ftp://myserver.com/images or [http://myserver.com/images](http://myserver.com/images)), then in the DB you can store the names of images as a string. You can then access any image on the server by combining the server name and the image name for any given record. The resulting image can be displayed in Servoy anyway you want e.g. in a media field.

Normally you would need a plugin for fetching over FTP, but I have some code for that that does not use plugins. If you use HTTP to fetch the remote images Servoy has some built in stuff for that already.
