Solved

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

Posted on 2014-02-02
3
859 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
[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
  • 2
3 Comments
 
LVL 81

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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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.
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

696 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