Avoiding FIleparts

Advertisement

Vann_the_Red
Joined:
Posts:
27
Location:
NC, USA

Avoiding FIleparts

Martin and community,

I have a common situation. I have a server in the DMZ that hosts a series of WinSCP scripts harvesting data files from providers. We then push those files across the firewall to the network for processing using SFTP. I need to replace the aging python script that manages the push internally. Writing the script is relatively trivial, but I'm concerned with moving a still-downloading "filepart" file.

Since both pieces will now be WinSCP, does the Session.PutFiles "know" not to transfer "filepart" files? Can it be made to? Am I better off just downloading to a temporary directory and moving to the live directory upon full download?

TIA,

VtR

Reply with quote

Advertisement

Vann_the_Red
Joined:
Posts:
27
Location:
NC, USA

Martin,

Yes, for now at least that is the workflow since that's how the system I'm replacing was designed. Thank you for the template mask reference; I'll look at that. Perhaps the best solution is to have the download script download to a temp directory then move to the upload directory once complete. I can look into that as well.

Thank you for your assistance,

VtR

Reply with quote

Advertisement

You can post new topics in this forum