Write a python script to manage FTP files from a template

En curso Publicado hace 7 años Pagado a la entrega
En curso Pagado a la entrega

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.

Python

Nº del proyecto: #12629847

Sobre el proyecto

4 propuestas Proyecto remoto Activo hace 7 años

4 freelancers están ofertando un promedio de $146 por este trabajo

mwarrenschultz

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 Más

$194 USD en 3 días
(43 comentarios)
6.1
djuranovski

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 Más

$50 USD en 3 días
(18 comentarios)
3.9
ivissani

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. Más

$250 USD en 5 días
(0 comentarios)
0.0