Exemple #1
0
	def __init__(self):
		SqliteSyncClient.__init__(self)
		self.__transfer_lock = threading.Lock()
		
		self._username = ""
		self._bucket = self._username.lower() + BUCKET_NAME_SUF
		self._conn = None
Exemple #2
0
	def __init__(self):
		#username = '******'
		#password = '******'
		#hostname = 'ftp.powderhouse.net'
		#path = '/test'
		#port = 21
		SqliteSyncClient.__init__(self)
		self.__transfer_lock = threading.Lock()
		
		self._username = ""
		self._password = ""
		self._hostname = ""
		self._port = 21
		self._path = "/"
		self._ftp = None
		self._stampfile = tempfile.mkstemp(suffix='.txt')[1]
		self._last_conn_check = 0
Exemple #3
0
    def __init__(self):
        #username = '******'
        #password = '******'
        #hostname = 'ftp.powderhouse.net'
        #path = '/test'
        #port = 21
        SqliteSyncClient.__init__(self)
        self.__transfer_lock = threading.Lock()

        self._username = ""
        self._password = ""
        self._hostname = ""
        self._port = 21
        self._path = "/"
        self._ftp = None
        self._stampfile = tempfile.mkstemp(suffix='.txt')[1]
        self._last_conn_check = 0
Exemple #4
0
	def set_username(self, username):
		SqliteSyncClient.set_username(self, username)
		self._bucket = self._username.lower() + BUCKET_NAME_SUF