Re: [lftp] Review of script for syncing HostedFTP and local server

2017-06-01 Thread Alexander Lukyanov
The --include-glob options look incorrect. They should not be given an absolute path, but rather a relative one. Even more, the glob pattern is matched against just a few last path components (separated by slashes), depending on the number of slashes in the pattern. The regex patterns are

[lftp] Review of script for syncing HostedFTP and local server

2017-06-01 Thread Alan Steel
Hello, We are a SaaS company, migrating our colocation environment to AWS. As part of that, we are changing how customers will provide us with files to be processed by our application. Currently they SSH to a server in our colo, and place their files in one of their subdirectories. When we