179
179
except ftplib.error_perm, e:
180
180
raise NoSuchFile(self.abspath(relpath), extra=extra)
182
def put(self, relpath, fp, mode=None):
183
183
"""Copy the file-like or string object into the location.
185
185
:param relpath: Location to put the contents, relative to base.
186
186
:param f: File-like or string object.
188
190
if not hasattr(fp, 'read'):