Solved

Serving up Zip files on an FTP server

Posted on 2007-03-20
4
314 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
ID: 18759194
best way is to use the script at scheduled time :)
0
 

Author Comment

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

Expert Comment

by:vpt-inc
ID: 18759560
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
ID: 18759565
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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Learn about cloud computing and its benefits for small business owners.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

22 Experts available now in Live!

Get 1:1 Help Now