GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

Perl query MySQL to csv and send using SFTP

   Click here to post similar project

Perl query MySQL to csv and send using SFTP is project number 254058 posted at GetAFreelancer.com. Click here to post your own project.

Closed
(Selected Service Provider james5400)
Status: Closed
Budget: $30-250
Created: 04/24/2008 at 10:02 EDT
Bidding Ends: 05/01/2008 at 10:02 EDT
Project Creator: dfarrell View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(14 reviews)
Description: -
This is a Perl job.

I need a script that can be called from cron or shell and does the following:

- Query a MySQL table to select a set of records.

- If the result is not empty, export all selected records, but just a subset of columns (defined by an array of column names that is hard-coded in the Perl script) to a single csv file (named using a static value plus the current date and time) to a local directory. In the process, convert a few field values (such as converting default date values “0000-00-00” to null values).

- If the csv file was created, connect to an external FTP server (address and login hard coded in the Perl script) using SFTP protocol [<< IMPORTANT] and upload the file to the FTP server.

- Send an email (addresses hard-coded in the Perl script) indicating outcome including date, result (success, ftp connection error, no records, etc), and number of records found in the query.


The server is Linux. Any Perl modules can be installed.

It needs to be well commented especially the query, column subset, ftp info, and email info areas (so I can edit them).

Please don’t propose/use an existing third-party script. I don’t want all the baggage of a “full-featured” script that does 20 things when all I need is the few simple things above. If you really want to use existing scripts, they must be open source and you need to package them in a way that the excess code is removed or “hidden” -- AND YOU NEED TO EXPLAIN THEM IN YOUR BID or else I’ll assume you’re using none.

Thanks.
-
Report violation
Job Type:
  • Linux
  • Perl/CGI
Database: MySQL
Operating system: Linux
Bid count: 13
Average bid: $ 57

 

Related project
 
Nonpublic project #310317 Featured Nonpublic
login to view
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
nknk
View PM Post PM
$ 70 2 days 04-24-2008 14:09 9.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/10
(65 reviews)
Hi. That's my specialty. Please check PM.
HeoQue
View PM Post PM
$ 70 4 days 04-25-2008 03:04 9.56/109.56/109.56/109.56/109.56/109.56/109.56/109.56/109.56/109.56/10
(41 reviews)
kindly check PM.
CoVaLiDiTy
View PM Post PM
$ 50 1 day 04-24-2008 10:31 9.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/109.91/10
(34 reviews)
can help you. tnx.
meral
View PM Post PM
$ 50 1 day 04-24-2008 13:35 9.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/10
(24 reviews)
can create this
fuzzoid
View PM Post PM
$ 60 1 day 04-24-2008 10:16 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(19 reviews)
Hi, see PM, please.
bendriss
View PM Post PM
$ 45 0 days 04-24-2008 13:57 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(16 reviews)
Hi sir, Happy to collaborate with you, plz see PM;
james5400
View PM Post PM
$ 50 1 day 04-25-2008 07:32 9.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/109.50/10
(6 reviews)
Please see PM
WShuttle
View PM Post PM
$ 35 2 days 04-26-2008 05:42 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(3 reviews)
Hi , I'd Like to pleasure you with my rich perl programming experiences since 1996. We are developer of LookMyPC, can can give you support over LookMyPC. pls check pm for more
onuraslan
View PM Post PM
$ 40 0 days 04-25-2008 05:02 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(2 reviews)
I can do that for you sir.
softwareprof
View PM Post PM
$ 40 2 days 04-24-2008 20:59 (No Feedback Yet)
Hi Thr, Like to take up this and can assure you 100%satisfaction and timely, bug free delivery. Please see my PM.
cslinux
View PM Post PM
$ 30 0 days 04-25-2008 05:21 (No Feedback Yet)
i'ld like t o do the job, money is not a problem.
nitzATbest
View PM Post PM
$ 120 4 days 04-25-2008 14:46 (No Feedback Yet)
Quality Guaranteed.
LesleyB
View PM Post PM
$ 80 4 days 04-26-2008 08:18 (No Feedback Yet)
What a fun little project to do. I can definitely supply what you need. Look forward to hearing from you.
Bid on This Project

 

[ GAF Top Users ] [ Outsourcing ] [ Web Forms ] [ Website Design ]

What is GetAFreelancer.com? ( Read about the company )

Our mission is to find the best possible freelance workers at the best possible price. Companies of any size have used our web services. Outsourcing is the process of subcontracting network operations and support to an organization outside your own company. Try it free today! A freelancer is an independent worker, not on salary, hired instead on a project basis. We have thousands of satisfied clients around the world. Bookmark our homepage to make sure you don't forget about our website next time you need to develop an IT project for yourself or your company.

Outsource projects and save a lot of money. Getting affordable freelance work, freelance programming and custom web design done for your website has never been easier. We provide a safe escrow environment and you don't release the money until project is completed. Our escrow feature is developed to protect both buyers and sellers. Outsourcing is hiring an outside organization to perform services such as information processing and applications development.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.