Write a python script to manage FTP files from a template

I have a software package that can reference file names in an email, but cannot generate the email with file attachments from an FTP folder. To accomplish this, I made the software generate an email as a template (like XML) that references files I want to attach from my FTP server.

I would like a python script that will run on a scheduled cron to do the following:

1) Log into a gmail account, parse an email template body to extract file names, recipients, and text information from the body of the email (The items to extract will be within tags for easy parsing)

2) Download the attached PDF file from the email and place it in an FTP folder

3) Using the file names from step #1, find the matching file(s) from an FTP folder and convert them to PDF (from Docx).

4) Compile an outgoing email that attaches all the files above from the FTP folders and formats an outgoing email based on the text and recipient tags. The files should be zipped.

5) Purge the email inbox.

I have attached a sample of how an email template can look. It can be modified slightly if needed to make the coding easier.

To make this project even sweeter, I have already written a somewhat functional script that does most of this project (logs in to the gmail, parses, converts to PDF, uploads, downloads, archives, purges the inbox, etc). It needs to be refined and tested.

Taidot: Python

Näytä lisää: python script write register, python script write, write simple python script, python script replace placeholders template file, write script telit device using python script, python script copy files, python script ftp email, python script file write telit, access exit status sql files python script, python script parse csv files, need write python script telit gc864quad module, need help write python script operate telit module, python script automatic file transfer ftp, script retrieve files via ftp linux, python script text files

Tietoa työnantajasta:
( 14 arvostelua ) Millis, United States

Projektin tunnus: #12629847

Myönnetty käyttäjälle:


Hello, I'm a Python programmer interested in this project. In my understanding, I need to do the FTP part and glue all other modules that you have already made to create a working system. Regards,

$45 USD 2 päivässä
(56 Arvostelua)

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello! My name is Warren Schultz, and I am a professional programmer with many years of experience using Python. I have read your project description, and I can create the 'FTP PDF File Management for GMail' program yo Lisää

$194 USD 3 päivässä
(43 arvostelua)

Hi, after reading your project i decided to give it a shoot. It looks like you have it working already, right? If its written in Python i would like to take a look. It was hard to define a price for my work. Ple Lisää

$50 USD 3 päivässä
(11 arvostelua)

Hello! I have a great experience in python coding (I have attached samples at the end of this coverletter), I am ready to review and improve your code. Moreover I have a similar project (private), written in C#. Lisää

$277 USD 2 päivässä
(1 arvostelu)

We have 8+years work experience in .NET,FLASH,C#,Linux,Visual Studio2010,Joomla,ASP,Javascript,Java,PHP,Python,Prestashop, MS access,SQL,Shell script,XML,moodle,AJAX,CMS,HTML,Drupal,SEO,CSS,wordpress,Bootstrap,Photos Lisää

$88 USD 2 päivässä
(0 arvostelua)

Not much to say about the project. Your requirements are clear enough and any details can be discussed in time. I can do the job. The fact that you want the script done in Python is nice since it's a language I like. Lisää

$250 USD 5 päivässä
(0 arvostelua)