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
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