[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 930
  • Last Modified:

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

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
XGIS
Asked:
XGIS
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
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
 
XGISAuthor Commented:
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
 
XGISAuthor Commented:
implemented solution
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now