Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download only specific files with prefix or suffix and if not already downloaded in localfodler #31

Closed
stefancvetkovic opened this issue Sep 6, 2023 · 1 comment

Comments

@stefancvetkovic
Copy link

So I have a list of files from your example, but I want just to filter it with some names and then to check if these names alredy exists in folder, and if not, then download it.

@PrzemyslawKlys
Copy link
Member

Use Get-FtpList to find what's on FTP, use Get-ChildItem to find whats' local, loop thru get-ftplist output and see if it already exists locally. It's a simple loop with verification of existance. You can also do this in the same loop to check for prefix or suffix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants