Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Oct 19, 2018 10:09 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Web: Sending a folderItem
PostPosted: Fri Jan 18, 2013 3:14 pm 
Offline

Joined: Sun Jan 28, 2007 2:38 pm
Posts: 231
I have a folderitem: f

I wish to allow the user to download the file item by clicking on a button.

f.sendFile is the basic idea.......


Top
 Profile  
Reply with quote  
 Post subject: Re: Web: Sending a folderItem
PostPosted: Fri Jan 18, 2013 5:44 pm 
Offline

Joined: Sun Jan 28, 2007 2:38 pm
Posts: 231
Ah ha! WebFile!

Dim f As FolderItem = GetFolderItem("MyFile.txt")
If f <> Nil And f.Exists Then
App.MyFile = WebFile.Open(f) // MyFile is a property on the App object
App.MyFile.ForceDownload = True
End If


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group