diff options
author | Teravus Ovares | 2008-11-10 23:56:58 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-11-10 23:56:58 +0000 |
commit | d1457001150d7af6faf2a11e59b895320c6e3e9b (patch) | |
tree | e330afa46bdbafb24ec7bd8893a9c582c6718f68 /OpenSim/Region/Environment/Modules/Agent/Xfer | |
parent | fix README.txt to be 0.6 (diff) | |
download | opensim-SC-d1457001150d7af6faf2a11e59b895320c6e3e9b.zip opensim-SC-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.gz opensim-SC-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.bz2 opensim-SC-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.cs | 1 |
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)) |