Find Jobs
Hire Freelancers

C# File Processing

$30-100 USD

已关闭
已发布超过 19 年前

$30-100 USD

货到付款
I need a C# function that takes a byte[] array that was derived from a CSV text file. The byte array must be processed for the following errors: 1. If the file contains more than 2500 rows, the entire file should be SUSPENDED. Suspended entails the entire file written to a defined folder using a GUID as the file name. An email should be sent to a defined list of users stating the error and providing, as a link, the path to the suspended file. The processing of the array should also terminate once 2500 rows is reached to prevent huge files from killing the system. 2. Each row in the CSV file contains 37 columns. If the row contains more than 37 columns, the row should be checked for another 37 columns ensuring empty data. If only empty columns are found, discard all columns beyond column 37 and process the next line. If anything other than empty columns is found beyond column 37, the file should be SUSPENDED as described above. 3. If the row contains less than 37 columns, append commas to the line to make up 37 columns and continue processing the next row. 4. The first row in the CSV file is a header row. The first field is titled "CustomerID". If the first row is not a header row i.e. the first column is not "CustomerID", insert a header row into the stream. 5. While processing the file, if a blank line is encountered, such as just a row of commas, it should be treated as an end of file marker. Process everything up to that point and discard the rest. 6. The only exception to number 5 above is if the 2nd row is blank. If the second row is blank, but the file has a valid header in row one and valid data in row 3, discard row 2 and process the rest of the file as a valid file. If the file is valid, it should be written to another defined folder, as a CSV file. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows, C#
项目 ID: 3359171

关于此项目

8提案
远程项目
活跃19 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
8 freelancers are bidding on average $54 USD for this job
用户头像
See private message.
$42.50 USD 在2天之内
5.0 (174条评论)
7.4
7.4
用户头像
See private message.
$68 USD 在2天之内
5.0 (25条评论)
6.0
6.0
用户头像
See private message.
$56.95 USD 在2天之内
5.0 (61条评论)
5.1
5.1
用户头像
See private message.
$51 USD 在2天之内
5.0 (17条评论)
3.5
3.5
用户头像
See private message.
$42.50 USD 在2天之内
5.0 (5条评论)
3.4
3.4
用户头像
See private message.
$21.25 USD 在2天之内
0.0 (2条评论)
0.0
0.0
用户头像
See private message.
$68 USD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$85 USD 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
25
会员自7月 2, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。