FTP zip files from internal network into the DMZ and unzip the contents

What would be the best way to automate a file (zip) transfer into the DMZ from a internal server and unzip the contents on to the DMZ.
gaurav sharmaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KorbusCommented:
I would use a script.
Assuming the destination is a windows computer, you can use the ftp command-line to open the FTP connection to the file source and "get" the file,  then call your favorite zip program to decompress it to the final folder location.

This also assumes you can access the file FROM the DMZ- if this is not correct, we'll need a different method, like running the script on a LAN PC, and hosting FTP on the DESTINATION instead.


I can provide more details, or an example if you need, just let me know.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gaurav sharmaAuthor Commented:
Am running a server (CI) on a internal machine which triggers this transfer. I cannot install my CI server on the DMZ(as it has a web interface).
0
KorbusCommented:
I'm still not quite clear; which machine is hosting FTP, and which machine is running windows? (It sounds like the window box is the NON-CI server running in the DMZ.)  [not familiar with CI, whats it stand for?]
0
gaurav sharmaAuthor Commented:
CI stands for continuous integration. I build a zip file on the windows server located on the internal network. This ZIP file has static content which needs to be deployed to the webserver in the DMZ. The transfer of the zip file and unzipping the contents in the DMZ has to be triggered by a series of commands from the internal windows server.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.