Re: Scripts for uploading/downloading and zipping/unzipping folders



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"
.



Relevant Pages

  • Re: Automate a task for an FTP Site
    ... 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 ... the CLI I use provides transparent FTP support ...
    (microsoft.public.scripting.vbscript)
  • Scripts for uploading/downloading and zipping/unzipping folders
    ... I need a few sample scripts for the following tasks: ... - to zip and upload a folder via ftp ...
    (microsoft.public.scripting.vbscript)
  • Re: Drag and Drop Index .pub files into mapped FTP folder 2 cng we
    ... folder on my hard drive where I can direct the output on a consistent basis. ... when you upload to the web...and I know where to look when it is time to FTP ... website you saw, and viewed MY COMPUTER, the index_files folder, contained ... when I save the Publisher .pub file, ...
    (microsoft.public.publisher.webdesign)
  • Re: Cannot get Cerverus ftp server to work
    ... When i create a user Cerverus asks me for virtual root folder and i add ... Those seem to be permissions that the FTP server is allowing for its ... If the O/S is using the FAT32 file system that the FTP folder is created on, ...
    (comp.security.firewalls)
  • Re: hmt will not load in FTP client after proxy server problems.
    ... After you make the changes in your Publisher file on your computer, ... You say your FTP ... to upload the new html files to your site, and they should overwrite the old ... output to a folder on your computer, from which you will use the ftp client ...
    (microsoft.public.publisher.webdesign)