Jump to content

Featured Replies

Posted

I was wondering if someone could guide me on setting up an automated email for when i file is loaded to specific directory an email or notification is automaticaly sent to a selected group of users. Ive read a little bit of info on using C# visual studio 2008.

 

heres an example to clarify

 

 

Ftp directory (123.45.67.0.0/Example)

 

Upload :example_file.xls Sample_City.dwf

 

Ftp: Upload Complete

 

Ftp protocol: Automated email sent

To : John_Doe@My-email.com

Cc: Mary_Smith@My-email.comSteve_Bass@My-email.comJohn_Ash@My-email.com

 

Subject:

 

Job example_file.xls and Sample_City.dwf are uploaded to directory and awaiting your completion.

 

 

 

Ive read of a couple third party software but havent looked into any to see how difficult the transfer from my current Windows server 2008 R2 x64 using FTP IIS 7.5 thats built into windows to say WS_FTP pro . I would like to stay with built in Windows Server applications and just learning how to write code. Still a noob at this so please take it easy. I'm sorry if this is crude example please feel free to comment or ask questions.

  • Author

Thanks for the quick response. Is there a tutorial for doing this. I got lost in the mass amount of text and literature on building it from ms visual basic 2008 C#. The company itself is using Outlook as our mail application and our ISP for our email server. I can make the account for the server itself in the morning from my office computer. Is there a walk-through or tutorial on how the power shell command line should look. Our email accounts we use are pop3 and smtp (incoming and outgoing) if I'm not mistaken. Trying to get this script started so I can move to the next step in my laundry list of to-do's before bringing this online.

 

Again thanks for the information in advance.

 

Jon

  • Author
I wrote a .bin file today with script telling to send an automated email i tested it through cmd and powershell. no how do i deploy it to my ftp. keep in mind I'm using iis 7.5 ftp server. trying to stay away from third party software the best i can. closest thing in Windows i can find is creating a new task. i created one just to have a looksey and I'm uncomfortable and uncertain its going to do what I'm wanting it to do.
  • Author

i have also been reading more and more and thought about what if i could add it by script but all the writing on script i have read seems to be more for remote connections rather than sitting behind the server and running ftp script through the server's OS to tell it to do something. when i go to "get example.bin/example.txt/example.bat" (each file being different and ran in individual lines) the "remote connection closed" then i have to re-open connection to server log back in change lcd back to where the files stored and if i try running script cd exampl.txt/myremotedirectory (or another file path) i get access denied.

 

of course as the directory im trying to use i log in through anon connection

Guest
Reply to this topic...