Hi shamsam1,
I don't have a way to test this, but I would comment out all the "on error resume next" until you get the error.
If you post the project with all of the files zipped up, give me the url you are using to ftp to I will test it out tonight and see what happens.