Solved

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

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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

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

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

863 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

27 Experts available now in Live!

Get 1:1 Help Now