Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Downloader 4

Posted on 2014-01-07
15
Medium Priority
?
207 Views
Last Modified: 2014-01-07
Hi Experts,


Need to Download Files from start Date to End date from one web site. Will you guys help me out on this.
Eq
In this link if I manually change "eq070114" to "eq030114" & past to chrome browser it automatically download file that this date i.e. 3 Jan 2014 without  prompting of any clicks.

After Downloading need to do one more step in particular file delete whole D column data & Type text "Date" in Cell D1 & D2 till end need date i.e. 07-Jan-2014.then next file.

I have sample file for this kind of process but link is different & in this one more step added.

Thanks
Test.xlsm
0
Comment
Question by:Naresh Patel
  • 9
  • 5
15 Comments
 
LVL 40

Expert Comment

by:als315
ID: 39762181
Test this sample.
There is one problem: in previous case if file does not exist, you've received an error. In this case you will not have error, but receive html file (eq050114_csv.zip and eq040114_csv.zip). It is not zip archive, it is plan html. Rename it to .html and view. Do you like to analyze and do anything with such files?
Test--Downloader-4-.xlsm
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39762265
Sir.als315,
May i have your name please or short name.Nothing  to do with it ....just send to trace or delete it as and when appear.....


Thanks
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39762273
Sir als315,
Delete or trace for file.....i.e answer to your question.
 I guess you got it what I mean to say...

Thanks
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 40

Expert Comment

by:als315
ID: 39762317
My real name is in my profile: als315 - Alexey
Test new sample (wrong downloaded files will be deleted)
Test--Downloader-4-.xlsm
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39762349
Sir Alexey,

Thanks and revert back you soon as I am on my way back to home.


Thanks
0
 
LVL 40

Accepted Solution

by:
als315 earned 2000 total points
ID: 39762388
May be this will be better (other kind of check - first letter in file. In zip file it is always "P")
Test--Downloader-4-.xlsm
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39762421
Sir Alexey,

i don't find any file in "C;\Test".



Thanks
0
 
LVL 28

Expert Comment

by:MacroShadow
ID: 39762723
Works fine for me.
0
 
LVL 40

Expert Comment

by:als315
ID: 39763036
Do you have cells in column D filled with dates?
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39764087
Sir Alexey,

Do you have cells in column D filled with dates?

Yes at my place & office

I don't know why at my place I cant see any file in "C:\Test\". but in office PC I can see. I guess question is solved.


Thank You
0
 
LVL 8

Author Closing Comment

by:Naresh Patel
ID: 39764089
Excellent..
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39764127
Sorry Sir My bad.......
After Downloading need to do one more step in particular file delete whole D column data & Type text "Date" in Cell D1 & D2 till end need date i.e. 07-Jan-2014.then next file.

this is still pending, I guess misinterpret.
I want to add data column with date in all downloaded file.

Date Added
Thanks
0
 
LVL 40

Expert Comment

by:als315
ID: 39764228
It is packed zip file. Should we unpack it and add this column? It seems to be separate question due to EE rules.
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39764273
Sir Alexey,

No Problem but it will done in same code or it run like download all file - Unpack - Add Row - Save.

I ll prefer in same code download one pack file - unpack - add row - save - Next download - pack file......

posting new link for my next question.


Thanks
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 39764303
Sir Alexey,

I had posted new question regarding this. Downloader 4.1



thanks
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question