in reply to Question regarding basic help with my upload script

Look at the sample script posted here.

Also, your use of <code></code> tags, is not quite right. It should be like this:

<code>
#
# Your code here
#
</code>

Review the PM site FAQ, especially Writeup Formatting Tips.

the lowliest monk