summaryrefslogtreecommitdiffstats
path: root/files/api.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-07-06 12:50:37 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-07-06 12:50:37 +0200
commit9fe7f992d9323f4509d7fa7c0f895c22141dcc06 (patch)
tree4e7af7d9eb0414fa3b9aa5e71bc196667acbeba2 /files/api.php
parent761b54fc17aeedc77e07a5ec5ff8f412ea46e798 (diff)
downloadnextcloud-server-9fe7f992d9323f4509d7fa7c0f895c22141dcc06.tar.gz
nextcloud-server-9fe7f992d9323f4509d7fa7c0f895c22141dcc06.zip
Initial work on transering files between servers
Diffstat (limited to 'files/api.php')
-rwxr-xr-xfiles/api.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/api.php b/files/api.php
index 014bbb56bbc..fa94a512547 100755
--- a/files/api.php
+++ b/files/api.php
@@ -72,6 +72,8 @@ if($arguments['action']){
echo 'false';
}
break;
+ case 'pull':
+ return OC_FILES::pull($arguments['source'],$arguments['token'],$arguments['dir'],$arguments['file']);
}
}