Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-10-2013, 03:17 AM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Saving file from server to client's PC

I have recently stumbled across the selectFileForDownload(str) function with no surprise of not finding much documentation.

What I want to do is download a file from the server to my PC using a save file dialog-esk UI.

This is what the function gives clientside for:
selectFileForDownload("/levels/graphics/images/test.png");


When I click the save button, nothing happens and the function doesn't return anything.

I haven't seen this function being used anywhere either...
And the lack of documentation doesn't help.

Is there another way to download a file from the server to a client's PC?

I want to avoid uploading it to a web server and getting the client to download it from there...

I have also tried different arguments for the function with no luck.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.