In order to do this you must use a third party application. I will demonstrate the application that I use, DataCase (6.99 from the iTunes Store).
1. Start the application by tapping on it.
2. To browse documents that have been previously loaded, just tap on the file type at the bottom of the screen or tap on the folder icon in the center of the white donut.
3. To see the files on a PC or Mac, type in either the http or ftp address in the address bar of a internet browser or FTP client. The iPhone and the computer must be logged on to the same wireless network for this to work (I think).

You can then download any file by simply clicking on it in the browser.


Here are the instructional How-To videos from DataCase's website.
MacOS X Leopard walkthrough:
Windows Walkthrough