Browse files

Fix a typo

"unmodified name as send by the client" -> "unmodified name as sent by the client"
  • Loading branch information...
1 parent 579c89c commit 0128fd1f9fabfd90889ee4cbdb5a764fd23a8551 @daxtens daxtens committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/tutorial.rst
View
2 docs/tutorial.rst
@@ -668,7 +668,7 @@ Bottle stores file uploads in :attr:`BaseRequest.files` as :class:`FileUpload` i
upload.save(save_path) # appends upload.filename automatically
return 'OK'
-:attr:`FileUpload.filename` contains the name of the file on the clients file system, but is cleaned up and normalized to prevent bugs caused by unsupported characters or path segments in the filename. If you need the unmodified name as send by the client, have a look at :attr:`FileUpload.raw_filename`.
+:attr:`FileUpload.filename` contains the name of the file on the clients file system, but is cleaned up and normalized to prevent bugs caused by unsupported characters or path segments in the filename. If you need the unmodified name as sent by the client, have a look at :attr:`FileUpload.raw_filename`.
The :attr:`FileUpload.save` method is highly recommended if you want to store the file to disk. It prevents some common errors (e.g. it does not overwrite existing files unless you tell it to) and stores the file in a memory efficient way. You can access the file object directly via :attr:`FileUpload.file`. Just be careful.

0 comments on commit 0128fd1

Please sign in to comment.