Solved

Python or FileZilla Server to Create Folder and Transfer File to Adjacent Server

Posted on 2014-02-02
3
835 Views
Last Modified: 2014-02-17
I have a process operating on a machine where a python script runs to process spatial data and return a compressed file which needs to be placed on an adjacent server which is a Hyper-V machine on the same network.

The server is an FTP server and has FileZilla server installed.
A secure certificate has been generated locally to control external access.

What would the best solution be to get the file from one computer to the next.
Python... as the final process in the script or an FTP process initiated by Python.

The network is Gigabit. The files may be in the megabytes or Gigabytes.
A unique folder name will need to be constructed based on parsed parameters eg GUID.

Pls advise?
0
Comment
Question by:XGIS
  • 2
3 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39828589
why even go to that trouble?  If the file is always coming from the same spot and always to the same destination then a simple file watch scheduled task can copy the file from one to the other.
0
 
LVL 7

Accepted Solution

by:
XGIS earned 0 total points
ID: 39828731
Gday David,  Pls note that the file changes each time, as does its storage folder. Of course like most things programming there are x^n options.  My plan has modified to generate the python script and transfer tasks from the originating web server using C# and iron python.  This will be a recipe for all the things it needs to do.  When the script runs the final task is to transfer it to a computer and create the folder as per instruction.  Does that sound reasonable?
0
 
LVL 7

Author Closing Comment

by:XGIS
ID: 39864293
implemented solution
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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.

816 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