196
196
self._transport.put_file(self._escape(path), file, mode=self._file_mode)
199
209
def put_utf8(self, path, a_string):
200
210
"""Write a string, encoding as utf-8.
202
212
:param path: The path to put the string, relative to the transport root.
205
215
# IterableFile would not be needed if Transport.put took iterables
206
216
# instead of files. ADHB 2005-12-25