ftp via bat called by wsh
From: Kim (kim_at_xxx.com)
Date: 01/12/05
- Next message: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Previous message: Gerry Hickman: "Re: Changing Registry ACL (need some more help)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Reply: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 12 Jan 2005 17:34:14 -0500
I am ftping a directory of files using a bat file called from a wsh file.
All is working fine with one exception.
I cannot get the ftp command line to close when using MPUT - the ftp
command to upload multiple files.
It will work if I use PUT with one file.
this is the contents of the bat file
ftp -s:filename.txt myftpsite.com
below are two version of the commands within the filename.txt referenced
above..
this will not work... It uploads no files and does not close the ftp
connection.
username
password
binary
CD ecreditexperts
CD www
CD admin
CD doc
mput "D:\work_tasks\cpi_sales\sales\*.Doc"
bye
this works - uploads the one file, and then closes the ftp connection and
then the command window.
Exactly what I want it to do... But I need to upload ALL the files.
username
password
binary
CD ecreditexperts
CD www
CD admin
CD doc
put "D:\work_tasks\cpi_sales\sales\file.Doc"
bye
What am I doing Wrong?
thanks for the help
Kim
- Next message: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Previous message: Gerry Hickman: "Re: Changing Registry ACL (need some more help)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Reply: Torgeir Bakken \(MVP\): "Re: ftp via bat called by wsh"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|