We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Windows PowerShell FTP question

mattyinteractive
on
Medium Priority
775 Views
Last Modified: 2012-06-21
Good day

I am working on Windows PowerShell script
I have to find the oldest file out of several files with specific name pattern (say file_1234, file_0989, file _0909) from Linux box and transfer to Windows 7 machine
My PowerShell skills are rusty

Would appreciate any help

Thank you,

Alex


Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Alex,

thank you. I had solved the problem by adding timestamp to filename on the server side
After that I was getting file listiing via ftp "dir" command, sorted ascending and getting last entry
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.