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

I have a script which looks like:

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

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?
horstuffAsked:
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.
0
 
horstuffAuthor Commented:
Thanks. Works perfect.
0
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.