Jump to content
Forum²

Recommended Posts

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.com;Steve_Bass@My-email.com;John_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.

Posted

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

Posted
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.
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...