Find Jobs
Hire Freelancers

Create a python script that downloads a latest file via sftp, reads the fixed width file and dumps the data to mysql when a condition is meet per row.

$30-250 AUD

Completed
Posted over 3 years ago

$30-250 AUD

Paid on delivery
I need to create a python script that can run in cron or manually if needed. It needs to read a fixed width text file Example file looks like 011234567891232 023456789012344 010012344567656 025647586958478 014536475638479 Fixed width column widths are for example 2, 4, 4, 5 ie on above data, it would look like this if a space was used to separate columns C1 C2 C3 C4 01 1234 5678 91232 02 3456 7890 12344 01 0012 3445 67656 02 5647 5869 58478 01 4536 4756 38479 Scrips needs to sftp to a server Grab the latest file in the sftp server directory (it would be good if I can specify the number of latest files to grab, ie usually will be 1 latest file, but if for some reason, script does not run for a few days, we should be able to specify on the command line the number of latest files to grab) The script should parse the file and in rows where col 1 (C1) is 01, it should grab C3 and C4 data from the row and add to an existing mysql table The script should ignore rows where C1 is not 01 (eg, if C1 is 02, ignore) If the above example, the script should discover C1 C3 C4 01 5678 91232 01 3445 67656 01 4756 38479 It's pretty simple Questions, let me know Please note, the above example, is only to demostrate. Actual data file has approx 400 chars wide per row, approx 40 cols and typically contains approx 500 rows). We are only interested in a few cols of data. No need to write the cron, or implement, we can do that, we just need the script to work. Steve
Project ID: 28656577

About the project

11 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 AUD in 1 day
4.9 (377 reviews)
7.6
7.6
11 freelancers are bidding on average $139 AUD for this job
User Avatar
Hello Steve, I am a senior Python developer with +5 years of experience in development and automation. I have used Python with FTP multiple times in automating file downloading tasks to be further processed. Thus, I am the best here to build you the script. May you contact me to discuss more? Regards.
$150 AUD in 3 days
5.0 (76 reviews)
6.0
6.0
User Avatar
Python is best for this task, And we can do anything in python. For now I just need the SFTP access so that I can start. Rest I can handle very smoothly. As a Data Scientist it is very easy task for me to manipulate the columns and rows. Please come over chat to discuss further. Best Regards Trinnovation Incorporate
$150 AUD in 2 days
4.9 (32 reviews)
6.1
6.1
User Avatar
Dear client. I checked all your requirement, no problem. I can make the python script in a few hours and make a cron or manual on your dicission. Please ping me to discuss more, I am ready right now. Regards.
$100 AUD in 7 days
5.0 (14 reviews)
4.7
4.7
User Avatar
Hello, I have been working professionally building a news aggregator for last 5+ years. I scrape all the websites of our local newspaper and save the news to database to process further and I use python, scrapy, mysql, celery, django to build this. I think I am the perfect fit for this job as I have all the skills you need and handson experience.
$250 AUD in 7 days
4.4 (16 reviews)
4.7
4.7
User Avatar
Hi, I am an experienced Python developer with Jupyter Notebook, Data Cleaning, statistics, Machine Learning, Deep Learning experience. I have good understanding of Flask, Django, Swagger, Machine Learning, Software Engineering, Numpy,Scipy,Pandas, Matplotlib , Qt4 , TkInter skills. I have rich experience on Python,OOP, Design Patterns, PyQt and RegEx processing, API call. Please ping me for further discussion. Best Regards, Poterasu
$50 AUD in 1 day
5.0 (5 reviews)
4.0
4.0
User Avatar
Dear, I have already performed tasks similar to what you need, I have processed both comma delimited and fixed width text files, I have made scripts that connect to databases, and I have performed both download and upload of files by ftp, I can easily make the script you need, write me please and we will start the project immediately, best regards
$80 AUD in 3 days
5.0 (11 reviews)
3.9
3.9
User Avatar
Dear Sir I have gone through your project description very carefully, and i have done similar kind of work in past. I will create python script which read data from sftp and perform the action as per your requirements and finally will insert the data into mysql. Kindly initiate chat so that we can discuss the project in detail. Thanks Mohit Dubey
$250 AUD in 7 days
4.2 (8 reviews)
4.8
4.8
User Avatar
I am expert in python and shell script . i can ssh to ftp server and generate necessary data to append to mysql table and schedule same script in crontab depending upon frequency
$120 AUD in 7 days
5.0 (15 reviews)
3.6
3.6
User Avatar
Hello!!! I have close to 6 years of experience as Python developer. I will be able to deliver the requirements on time. Please consider my proposal. Regards, Yogesh
$210 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
10+ doing Python in several areas. Currently taking data from an ancient COBOL system in my day job in a very similar way to your needs.
$30 AUD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Roseville, Australia
5.0
3
Payment method verified
Member since Aug 1, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.