Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a URL of supplier feed which contains csv file in zip format. I want to automatically download that file and unzip then there two main column mainly [ price , break1 ] , i just want to merge this two column and create third column " final price " like

Price -> Break1 -> [ final price ]
10 -> 5 -> 50
5 -> 5 -> 25
20 -> 4 -> 80

then simply upload it to the ftp location.

Thank you
Posted
Comments
Jochen Arndt 22-Jul-14 8:01am    
What have you done so far and where do you have problems (downloading a file, unzipping it, processing a CSV file, uploading a file)?
CPallini 22-Jul-14 8:32am    
And what is your doubt about?

1 solution

You will need to extract from the zip, manipulate the data and then add the updated file to a new zip archive.

Here[^] is some help on reading and writing to zip.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900