?
Solved

FTP script to transfer data from Windows server to Linux server

Posted on 2014-11-24
3
Medium Priority
?
275 Views
Last Modified: 2014-11-24
Guys

I have a Windows 2003 (32 bit) server which receives 3rd party application files into one of its folders.

The files that go into this folder need to be FTP'd out of the Windows directory and into a directory on a Linux server every 20-30 minutes.

Can someone point me in the right direction in terms of the script that needs to be written and how to set this up.

Question: do I run a Windows Scheduled Task to run the script every 20-30 mins?

I have been ftp'ing this data manually via the command prompt on the Windows box but this has been to another Windows box. This requirement is for the data to leave the Windows box and land in a directory on a Linux server.
Thanks
0
Comment
Question by:CTCRM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
Miguel Angel Perez Muñoz earned 2000 total points
ID: 40462236
You can do a wget every 30 minutes on Linux box:
 wget --ftp-user ftpuser --ftp-password ftpassword ftp://path/...
http://serverfault.com/questions/25199/using-wget-to-recursively-download-whole-ftp-directories

To configure every 30 minutes, create a script and a cron job: http://www.thesitewizard.com/general/set-cron-job.shtml
0
 

Expert Comment

by:Lelio Michele Lattari
ID: 40462490
I suggest to use Cygwin ;-) http://cygwin.org/
0
 
LVL 2

Author Closing Comment

by:CTCRM
ID: 40462565
Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Suggested Courses

765 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