Re: Scripts for uploading/downloading and zipping/unzipping folders
- From: Michael Bednarek <ROT13-zo@xxxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 20:23:39 +1000
On Mon, 19 Dec 2005 21:57:16 -0000, Kamal Ali wrote in
microsoft.public.scripting.vbscript:
I do most of these quite regularly, using the transparent ftp support in
my CLI, 4NT.
>I need a few sample scripts for the following tasks:
>
>- to upload a folder via ftp
COPY d:\folder\*.* "ftp:folder"
>- to zip and upload a folder via ftp
WzZip folder.zip d:\folder\*.*
COPY folder.zip "ftp:folder"
>- to upload a file via ftp
COPY file "ftp:folder"
>- to unzip and download a folder via ftp
COPY "ftp:folder/folder.zip" d:\folder\
WzUnzip d:\folder\folder.zip d:\folder\
>- to download a file via ftp
COPY "ftp:folder/file" .
>- to schedule a script
Task Scheduler or jt.exe
>It's quite urgent and any help would highly be appreciated.
WzZip/WzUnzip are command line adjuncts to WinZip. WinZip and 4NT are
commercial products. 4NT's ftp/http support is documented at
<http://jpsoft.com/help/ftpservers.htm>.
JT.EXE is part of Microsoft's Windows 2000 Resource Kit and is available
at <ftp://ftp.microsoft.com/reskit/win2000/jt.zip>. Alternatively,
SCHTASKS.EXE (on-board in XP).
--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
.
- References:
- Scripts for uploading/downloading and zipping/unzipping folders
- From: Kamal Ali
- Scripts for uploading/downloading and zipping/unzipping folders
- Prev by Date: Re: getting client IP address .......
- Next by Date: Re: adding a remote printer
- Previous by thread: Scripts for uploading/downloading and zipping/unzipping folders
- Next by thread: Information from multiple computers
- Index(es):
Relevant Pages
|