In Progress

Python Script - Send email & check FTP

I need two scripts to be written

=================================================

SCRIPT#1 -- Email attachments in Phython.

=================================================

Background: I need to send specific files from a directory to various customers.

OS: Windows Server 2003

1. Read all the files from "Directory"

2. If file exists, then continue with the steps below, otherwise, EXIT immediatley.

3. Run a batch file to ZIP all the files in Directory (I will provide the batch file with ZIP commands)

4. Move all the files from the Directory to C:\...\Directory\Old

5. Grab ZIP attachment from specified directory

6. Send attachment by GMAIL to specified (up to 3 destinations)

7. Ability to enter the subject field

8. Include the files read from Directory in the content of the email

9. Ability to enter additional text in the body of the email.

Example

To run the script: [url removed, login to view] [url removed, login to view]

Inside the [url removed, login to view] file..

<Customer 1>

<sender> sender </sender>

<sender_password> abc123 </sender_password>

<email1> email1 </email1>

<email2> email2 </email2>

<email3> email3 </email3>

<directory> c:\files\customer1 </directory>

<attachment> c:\files\customer1\[url removed, login to view] </attachment>

<subject> File as Requested </subject>

<Content> Please let us know if you have any questions [list files in directory, now zip] </content>

<Log> c:\...\File_Log_Customer1 </Log> <!--this is where you would store the files read from the Directory-->

</Customer 1>

<Customer 2>

<sender> sender </sender>

<sender_password> abc123 </sender_password>

<email1> email123 </email1>

<email2> email223 </email2>

<email3> email323 </email3>

<directory> c:\files\customer2 </directory>

<attachment> c:\files\customer2\[url removed, login to view] </attachment>

<subject> File as Requested </subject>

<Content> Please let us know if you have any questions [list files in directory, now zip] </content>

<Log> c:\...\File_Log_Customer1 </Log> <!--this is where you would store the files read from the Directory-->

</Customer 2>

I will need to send more than 1 customer.. so the XML script could have potentially 100 customers.

=====================================

SCRIPT# 2 Check new files in FTP server

=====================================

Need a Phython script to log into FTP server and check if there are new files.

I will run the Phython script under a Scheduled Task in Windows Server.

1. Log into FTP server

2. Check for new files since last successful log-in

3. Email individuals that new files have arrived

Example

To run the script: [url removed, login to view] [url removed, login to view]

Inside the [url removed, login to view] file..

<Customer 1>

<sender> sender </sender>

<sender_password> abc123 </sender_password>

<email1> email1 </email1>

<email2> email2 </email2>

<email3> email3 </email3>

<subject> New files have arrived for <Customer 1> </subject>

<content> The following files have arrived.. [list all files here] </content>

<FTP server>FTP://[url removed, login to view]</FTP Server>

<FTP Login>Customer1<FTP Login>

<FTP Password>abc123<FTP Password>

<Log> c:\...\FTP_Server_Log_Customer1 </Log> <!--this is where you would store the files read from the FTP site and compare with the next run -->

</Customer 1>

<Customer 1>

<sender> sender </sender>

<sender_password> abc123 </sender_password>

<email1> email1 </email1>

<email2> email2 </email2>

<email3> email3 </email3>

<subject> New files have arrived for <Customer 1> </subject>

<content> The following files have arrived.. [list all files here] </content>

<FTP server>FTP://[url removed, login to view]</FTP Server>

<FTP Login>Customer2<FTP Login>

<FTP Password>abc123<FTP Password>

<Log> c:\...\FTP_Server_Log_Customer1 </Log> <!--this is where you would store the files read from the FTP site and compare with the next run -->

</Customer 1>

Skills: Python, Software Architecture

See more: check_ftp python, python ftp email send, python send email, check send, python email send, send email python zip gmail, python script ftp email, email attachments ftp server python, python script send email, check_ftp, email script, gmail architecture, ftp server zip, email sender software, python script email, python check ftp server, xml script, Send, python to c++, python task, python script, python ftp, python c++, python c, phython

About the Employer:
( 6 reviews ) Basking Ridge, Canada

Project ID: #1152409

Awarded to:

trezorg

Hello. I can accomplish this task.

$100 USD in 2 days
(8 Reviews)
4.2

11 freelancers are bidding on average $122 for this job

srinichal

I am an expert in python and can deliver quality work to your specs

$180 USD in 5 days
(49 Reviews)
6.5
ineedWorkJob

sir plz check pm !

$160 USD in 3 days
(94 Reviews)
6.2
intellisense1

Hi sir i am an experienced python programmer, i am doing programming from last three years in python, i am currently working with the [url removed, login to view] and i have good knowledge of this field kindly accept my bid for this proje More

$75 USD in 2 days
(27 Reviews)
5.9
alex29

Hi! Please check PM for details on this project. And many thanks for your detailed description :)

$150 USD in 5 days
(5 Reviews)
5.0
synl0rd

Check PMB boss, serious bidder. Python expert

$150 USD in 3 days
(8 Reviews)
4.9
garygoog

Hi ,I can work for you .

$160 USD in 10 days
(18 Reviews)
5.0
zamulony

Hi. I can develop the scripts for you. I have already been doing scripts like that as parts of bigger Python projects. I have got experience with this kind of stuff. Kind Regards

$145 USD in 2 days
(0 Reviews)
0.0
Kirshanthan

Dear sir I am willing to undertake your work and I hope that I can provide you an output which you can be satisfied [url removed, login to view] recently I have worked on python scripts which can auto-generate emails and I think that thi More

$50 USD in 5 days
(0 Reviews)
0.0
excellsoftware

Hello !!!! I'm experienced in scripting languages (python, perl etc.) for 10 years in an EDA industry. I'm able to do the project.

$100 USD in 3 days
(0 Reviews)
0.0
tarmik

Have expirience with python, would like to help you with your problem.

$70 USD in 5 days
(0 Reviews)
0.0