Solved

Downloader 4

Posted on 2014-01-07
15
162 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:itjockey
  • 9
  • 5
15 Comments
 
LVL 39

Expert Comment

by:als315
Comment Utility
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:itjockey
Comment Utility
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:itjockey
Comment Utility
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
 
LVL 39

Expert Comment

by:als315
Comment Utility
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:itjockey
Comment Utility
Sir Alexey,

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


Thanks
0
 
LVL 39

Accepted Solution

by:
als315 earned 500 total points
Comment Utility
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:itjockey
Comment Utility
Sir Alexey,

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



Thanks
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 26

Expert Comment

by:MacroShadow
Comment Utility
Works fine for me.
0
 
LVL 39

Expert Comment

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

Author Comment

by:itjockey
Comment Utility
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:itjockey
Comment Utility
Excellent..
0
 
LVL 8

Author Comment

by:itjockey
Comment Utility
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 39

Expert Comment

by:als315
Comment Utility
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:itjockey
Comment Utility
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:itjockey
Comment Utility
Sir Alexey,

I had posted new question regarding this. Downloader 4.1



thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now