Solved

Serving up Zip files on an FTP server

Posted on 2007-03-20
4
297 Views
Last Modified: 2010-03-18
Lets say I'm running a windows 2003 server where photos are uploaded daily to one folder and I want to zip up yesterdays image files and post them on my ftp server.  The file name could be "photo.zip" and just overwrite itself daily or it could be named "03-20-2007.zip" and archived.
What is the best way to accomplish this?

Thanks!
0
Comment
Question by:Bang-O-Matic
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Phadke_hemant
Comment Utility
best way is to use the script at scheduled time :)
0
 

Author Comment

by:Bang-O-Matic
Comment Utility
Thanks but I'll need an example.
0
 
LVL 1

Expert Comment

by:vpt-inc
Comment Utility
Download ALZip from here:http://www.altools.net/ALTools/ALZip/tabid/53/Default.aspx
or some other zip software that supports zipping from the command line.  Now you create the .cmd file that will run the command to execute your zip.  

With ALZip the syntax would be:

alzip -a "c:\fullPathOfWhatYouAreTryingToZipGoesInRightHere" "c:\fullPathOfZipToAddItToo.zip"

So just create a new text file on your desktop and save it with the command in the text file.  Rename the textfile to textfileOrWhatever.cmd then schedule this .cmd in windows control panel -> scheduled tasks.  ALZip defaults to zipping a directories full contents if you don't specify the file/files within the directory to zip.
0
 
LVL 1

Accepted Solution

by:
vpt-inc earned 500 total points
Comment Utility
Make sure you install ALZip before you try to run the command = P.  You can also type these commands in at the command prompt if you want to play around and get the hang of it.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now