aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/Xfer
diff options
context:
space:
mode:
authorTeravus Ovares2008-11-10 23:56:58 +0000
committerTeravus Ovares2008-11-10 23:56:58 +0000
commitd1457001150d7af6faf2a11e59b895320c6e3e9b (patch)
treee330afa46bdbafb24ec7bd8893a9c582c6718f68 /OpenSim/Region/Environment/Modules/Agent/Xfer
parentfix README.txt to be 0.6 (diff)
downloadopensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.zip
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.gz
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.bz2
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.xz
* Commit allows downloading of the .raw terrain from the estate tools.
* Implements the SendInitiateDownload method in IClientAPI * Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list. * It then tells the client to download the file and the client initiates an Xfer request.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/Xfer')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs b/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs
index 3c69621..2f9a691 100644
--- a/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/Xfer/XferModule.cs
@@ -105,6 +105,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.Xfer
105 /// <param name="fileName"></param> 105 /// <param name="fileName"></param>
106 public void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName) 106 public void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName)
107 { 107 {
108
108 lock (NewFiles) 109 lock (NewFiles)
109 { 110 {
110 if (NewFiles.ContainsKey(fileName)) 111 if (NewFiles.ContainsKey(fileName))