PHP Noob seeking assistance with basic script

  • Thread starter Thread starter Joshuas
  • Start date Start date
J

Joshuas

This should really read Python noob but at the time I posted this I was considering PHP instead of Python :(


- I am stationed at a Windows 8 station
- The script will be set to run from an EC2 of Linux
- I need Python to log in to a godaddy FTP we have setup (using username and password) or out to our EC2 Linux instance on our AWS again username and password)
- Needs to search the root directory for newest files based on date... There are also specific naming conventions different clients use, but I assume via date will be much easier for when clients misname things
- These files need to be moved from the FTP over to our cloud storage (cloud storage = Egnyte, the drive is mapped on my workstation though)
- From here we need to decrypt the files, they are encrypted with PGP and we are using Symantec.. There are few different sets of passphrases we use here so I will need it to try one and if that one is not it move to next
- from here we are essentially done, there is more to the process I will be doing manually that I want to automate in the future but for now I am taking "baby steps" Because just doing this will save me countless hours.
I should note that certain files come in on certain days, or rather they are supposed to. Any sort of sample scripts I can look at would be greatly beneficial and would enhance my understanding of the process.
Python will be the choice here. Please ask any clarification questions. Any help is extremely appreciated

Continue reading...
 
Back
Top