Command Line Application Development in C# to run check for new files or emails via FTP or POP or IMAP
Budget: $30 – $250 USD
App Specs
-------------------------
SEE VIDEO To understand https://www.loom.com/share/42ae04e51eac41ae8de0108019de0028
a Windows command line app, that runs and connects to a web server via FTP or pop3 or IMAP
checks for an email or file received in the last 1 minute with the subject line "Your account: Access from new computer"
looks to confirm "user456" is present in the email and if yes, then search for "Login Code THWRD" line 58/59
outputs in the command line code=THWRD
for example, I will run
getcode.exe -ftp:abccompany.com -ftpuser:user1 -ftppass:abcefg -emailsinlastminutes:2 -targetsubject:"Your account: Access from new computer" -targetbody:user456 -checkagaininseconds:10
it will output the following
# please wait connecting....
# email NOT found in the last 2 minutes (s)
# trying again in 10 seconds
# trying again in 10 seconds
# trying again in 10 seconds
# trying again in 10 seconds
# found 3 emails with time stamps from last 2 minutes
# checking 1st email "1704583136.M..."
# searched and did not find the subject "Your account: Access from new computer"
# checking 2nd email "1704582990..."
# searched and did find the subject "Your account: Access from new computer"
# searching for "user456"
# "user456" found
# searching for "Login Code"
# "Login Code" found "THWRD"
# exiting
# code=THWRD
output.txt THWRD
* Requirements
code must be written in C-sharp
it must be super fast. to connect and check. for example, it should not take more than 5 seconds to connect and check for results.
must have a time-stamped log...
-------------------------
SEE VIDEO To understand https://www.loom.com/share/42ae04e51eac41ae8de0108019de0028
a Windows command line app, that runs and connects to a web server via FTP or pop3 or IMAP
checks for an email or file received in the last 1 minute with the subject line "Your account: Access from new computer"
looks to confirm "user456" is present in the email and if yes, then search for "Login Code THWRD" line 58/59
outputs in the command line code=THWRD
for example, I will run
getcode.exe -ftp:abccompany.com -ftpuser:user1 -ftppass:abcefg -emailsinlastminutes:2 -targetsubject:"Your account: Access from new computer" -targetbody:user456 -checkagaininseconds:10
it will output the following
# please wait connecting....
# email NOT found in the last 2 minutes (s)
# trying again in 10 seconds
# trying again in 10 seconds
# trying again in 10 seconds
# trying again in 10 seconds
# found 3 emails with time stamps from last 2 minutes
# checking 1st email "1704583136.M..."
# searched and did not find the subject "Your account: Access from new computer"
# checking 2nd email "1704582990..."
# searched and did find the subject "Your account: Access from new computer"
# searching for "user456"
# "user456" found
# searching for "Login Code"
# "Login Code" found "THWRD"
# exiting
# code=THWRD
output.txt THWRD
* Requirements
code must be written in C-sharp
it must be super fast. to connect and check. for example, it should not take more than 5 seconds to connect and check for results.
must have a time-stamped log...