Solved

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

Posted on 2014-02-02
3
813 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 78

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

707 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

14 Experts available now in Live!

Get 1:1 Help Now