windows ftp syntax, how do I upload all files in a directory?

I have a script which looks like:

cd /usr/www/users/username/folder/
put C:\Archives\*.xls

this script works with another script to upload files to my remote web server. Everything is working fine, except I need to be able to upload ALL the .xls files in the "Archives" directory. Right now it only uploads one. Ideas?
Who is Participating?
Lee W, MVPTechnology and Business Process AdvisorCommented:
use "mput" instead of "put" - Also, you might want to add "prompt" in a line right before the put statement.  By default, you would be prompted to upload each file, prompt turns that off.
horstuffAuthor Commented:
Thanks. Works perfect.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.