[Webinar] Streamline your web hosting managementRegister Today


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

Posted on 2004-10-25
Medium Priority
Last Modified: 2013-12-28
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?
Question by:horstuff
LVL 97

Accepted Solution

Lee W, MVP earned 200 total points
ID: 12406040
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.

Author Comment

ID: 12406255
Thanks. Works perfect.

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
A few solutions to a problem some of us have been having when trying to add Hostgator email accounts to Outlook 2016 (will probably work with Outlook 2013 as well).
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question