Subject: How do I get files in SFTP which were changed the day prior (DateTime.Now.AddDays(-1)) Date: 2019-06-19 16:15:41 From: jhickmann@geovera.com Source: get-files-sftp-changed-day-prior-datetime-now-adddays-1 ---------------------------------------------------------------------- I have a daily process to download files which were created the day prior. I'm attempting to add a SearchCondition for ModifiedAfter but get errors about not being able to convert DateTime to long. Is there are simple command to get what I'm looking for or a sample you could point me to? ---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index