Solved

FTP files into the DMZ and execute a command

Posted on 2013-06-18
6
250 Views
Last Modified: 2013-08-25
FTP files from Windows machine(internal network) to DMZ and execute a command in the DMZ.
0
Comment
Question by:raaj4354
  • 2
  • 2
6 Comments
 

Author Comment

by:raaj4354
ID: 39256155
I have a Windows 2003 server in the internal network. I need to
1. FTP files into the DMZ from the windows machine and
2. Execute a script on the DMZ, which would create a backup of existing folders in a directory on the DMZ.

What are the secure ways of achieving the above?
0
 
LVL 16

Accepted Solution

by:
AlexPace earned 500 total points
ID: 39256598
If the folders are accessible via FTP you could use the FTP client on the inside to do it.  

Otherwise, you'll need something that runs on the DMZ computer that will detect to arrival of the file and either directly backup the folders or launch another process to back up the folders.  You could use a scriptable FTP Server program like Robo-FTP Server and create an "Upload Complete" event script that does the work in response to the arrival of the new file.
0
 

Author Comment

by:raaj4354
ID: 39260671
There is no FTP server installed on DMZ.Can cygwin be installed on windows server and on the DMZ. Then by setting up a ssh tunnel an scp followed by ssh command can do the job for me. Is this a safe option?
0
 
LVL 16

Assisted Solution

by:AlexPace
AlexPace earned 500 total points
ID: 39260695
Well sure either SCP or SFTP would be encrypted so much more secure than normal unencrypted FTP... I guess I was confused by the mention of FTP in the question topic.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Forwarding web requests to different web servers 15 115
VPN running on Windows 2008 Server 11 82
Subnetting Question about CIDR notation 3 109
MSP multi use software 4 121
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

813 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

17 Experts available now in Live!

Get 1:1 Help Now