bypy/bypy.py
def syncdown(self, remotedir = '', localdir = '', deletelocal = False):
		''' Usage: syncdown [remotedir] [localdir] [deletelocal] - \
sync down from the remote directory to the local directory
  remotedir - the remote directory at Baidu Yun (after app's directory) to sync from. \
if not specified, it defaults to the root directory
  localdir - the local directory to sync to if not specified, it defaults to the current directory.
  deletelocal - delete local files that are not inside Baidu Yun directory, default is False
		'''
		result = const.ENoError
		rpath = get_pcs_path(remotedir)
		compare_result = self.__compare(rpath, localdir, False)
		same, diff, local, remote = compare_result
		if Pool and self.processes > 1:
			subresult = self.__syncdown_multi(rpath, localdir, compare_result)
			if subresult != const.ENoError:
				result = subresult
		else:
			subresult = self.__syncdown_single(rpath, localdir, compare_result)
			if subresult != const.ENoError:
				result = subresult
		if str2bool(deletelocal):
			subresult = self.__syncdown_delete_local(localdir, local)
			if subresult != const.ENoError:
				result = subresult

		if result == const.ENoError:
			self.__remove_remote_on_success(rpath)
		return result
 Usage: syncdown [remotedir] [localdir] [deletelocal] - \
sync down from the remote directory to the local directory
  remotedir - the remote directory at Baidu Yun (after app's directory) to sync from. \
if not specified, it defaults to the root directory
  localdir - the local directory to sync to if not specified, it defaults to the current directory.
  deletelocal - delete local files that are not inside Baidu Yun directory, default is False
		
syncdown [remotedir] [localdir] [deletelocal] - \
sync down from the remote directory to the local directory
remotedir - the remote directory at Baidu Yun (after app's directory) to sync from. \
if not specified, it defaults to the root directory
localdir - the local directory to sync to if not specified, it defaults to the current directory.
deletelocal - delete local files that are not inside Baidu Yun directory, default is False
syncdown [ remotedir ] [ localdir ] [ deletelocal ] - \ sync down from the remote directory to the local directory remotedir - the remote directory at Baidu Yun ( after app ' s directory ) to sync from . \ if not specified it defaults to the root directory localdir - the local directory to sync to if not specified it defaults to the current directory . deletelocal - delete local files that are not inside Baidu Yun directory default is False
def syncdown(self, remotedir = '', localdir = '', deletelocal = False):
		result = const.ENoError
		rpath = get_pcs_path(remotedir)
		compare_result = self.__compare(rpath, localdir, False)
		same, diff, local, remote = compare_result
		if Pool and self.processes > 1:
			subresult = self.__syncdown_multi(rpath, localdir, compare_result)
			if subresult != const.ENoError:
				result = subresult
		else:
			subresult = self.__syncdown_single(rpath, localdir, compare_result)
			if subresult != const.ENoError:
				result = subresult
		if str2bool(deletelocal):
			subresult = self.__syncdown_delete_local(localdir, local)
			if subresult != const.ENoError:
				result = subresult
		if result == const.ENoError:
			self.__remove_remote_on_success(rpath)
		return result
def syncdown ( self , remotedir = '' , localdir = '' , deletelocal = False ) : result = const . ENoError rpath = get_pcs_path ( remotedir ) compare_result = self . __compare ( rpath , localdir , False ) same , diff , local , remote = compare_result if Pool and self . processes > 1 : subresult = self . __syncdown_multi ( rpath , localdir , compare_result ) if subresult != const . ENoError : result = subresult else : subresult = self . __syncdown_single ( rpath , localdir , compare_result ) if subresult != const . ENoError : result = subresult if str2bool ( deletelocal ) : subresult = self . __syncdown_delete_local ( localdir , local ) if subresult != const . ENoError : result = subresult if result == const . ENoError : self . __remove_remote_on_success ( rpath ) return result
Usage: syncdown [remotedir] [localdir] [deletelocal] - \
sync down from the remote directory to the local directory
remotedir - the remote directory at Baidu Yun (after app's directory) to sync from.
Usage : syncdown [ remotedir ] [ localdir ] [ deletelocal ] - \ sync down from the remote directory to the local directory remotedir - the remote directory at Baidu Yun ( after app ' s directory ) to sync from .
''' Usage: syncdown [remotedir] [localdir] [deletelocal] - \
sync down from the remote directory to the local directory
  remotedir - the remote directory at Baidu Yun (after app's directory) to sync from. \
if not specified, it defaults to the root directory
  localdir - the local directory to sync to if not specified, it defaults to the current directory.
  deletelocal - delete local files that are not inside Baidu Yun directory, default is False
		'''
self
remotedir
localdir
deletelocal