Re: Automate a task for an FTP Site
- From: Michael Bednarek <ROT13-zo@xxxxxxxxxxxxx>
- Date: Sun, 27 Aug 2006 13:07:06 +1000
On 26 Aug 2006 10:25:21 -0700, wrote in
microsoft.public.scripting.vbscript:
Is there a script that can do the following?
* I have a folder on my computer with X amount of XML files
* I need to create one folder on the FTP site for each one of the XML
files (the name of the folder will be the same name of the XML file,
less the .xml extension)
Obviously I don't want to manually create each folder. Since the files
are on my computer already, is there a script that can do it
automatically?
I have never used native FTP in VBS; this tip by Jerold Schulman
<http://www.jsifaq.com/SF/Tips/Tip.aspx?id=8297> might get go started.
On the other hand, the CLI I use (4NT) provides transparent FTP support
and I use that quite a lot. Skeleton:
FOR %fn IN (*.XML) MD "ftp://server/%@NAME[%fn]"
Couldn't be simpler. 4NT's FTP (and HTTP) support is documented at
<http://jpsoft.com/help/ftpservers.htm>. 4NT is a commercial product.
--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
.
- References:
- Automate a task for an FTP Site
- From: cfmartin76
- Automate a task for an FTP Site
- Prev by Date: Re: How to identify open windows (not processes)...
- Next by Date: Re: how Zip using VBScript
- Previous by thread: Automate a task for an FTP Site
- Next by thread: How to identify open windows (not processes)...
- Index(es):
Relevant Pages
|