[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2004-10-25
2
Medium Priority
?
618 Views
Last Modified: 2013-12-28
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?
0
Comment
Question by:horstuff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Accepted Solution

by:
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.
0
 

Author Comment

by:horstuff
ID: 12406255
Thanks. Works perfect.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

650 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