Solved

Automating the retrival of a file

Posted on 2009-07-02
7
245 Views
Last Modified: 2012-05-07
I have a file at a remote site that I manually download to my local server, on a daily basis. Both servers are Microsoft Server 2003..The way I currently do this, is by logging onto a web page (http, no password or user name needed)and I manually retrive the file. Is there some way I can automate this activity? Any help would be appriciated.

John
0
Comment
Question by:loserbrewer
  • 4
  • 3
7 Comments
 
LVL 42

Expert Comment

by:zephyr_hex
ID: 24767677
why is this in the Sharepoint zone?  is the interface you're using Sharepoint?

have you tried FTP?
0
 

Author Comment

by:loserbrewer
ID: 24767763
I have sharepoint running on my local server, I thought there might be a solution w/sharepoint.

The file being downloaded is http, not ftp.
0
 
LVL 42

Expert Comment

by:zephyr_hex
ID: 24767973
the file itself is not HTTP.  you are just accessing the file via a web browser.  the file itself is stored on a server, and should be able to be accessed using FTP.

web site files (i.e.  html files) are available to web browers using an HTTP address.
webmasters use FTP to transfer files to and from the web server.

FTP is File Transfer Protocol.  it is the way in which files get transferred to and from web servers.

is this file you're downloading publicly available or do you need to use a username/password to download it?

if it's publicly available, try replacing http:// with ftp:// in your web browser.

where i'm going with this:
if you have access to the file with FTP, you can use a script to get the file and schedule that script using Scheduled Tasks.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 42

Expert Comment

by:zephyr_hex
ID: 24768020
oh...
and this solution will work even if you need to provide a username/password in order to download the file.

i have a script that logs into a server using FTP and downloads the files in a particular directory every night.
here is the code for a script called myscript.ftp:
<username>
<password>
prompt n
binary
cd DirectoryWhereFilesAreLocated
lcd I:\DestinationDirectory
mget *.*
quit

i then schedule the another script using Scheduled Tasks. the contents of that script:
ftp -v -s:myscript.ftp website.com >FTP.log

this last script initiates FTP and myscript.ftp provides the commands to run for the FTP session.
0
 

Author Comment

by:loserbrewer
ID: 24768056
The file being accessed is publicly available (intranet), but to access the site via ftp requires a user name and password.
0
 
LVL 42

Accepted Solution

by:
zephyr_hex earned 500 total points
ID: 24768326
i haven't used such a product but there appears to be 3rd party apps that may do this:

http://www.topshareware.com/Incredible-Automatic-Downloader-download-4386.htm
0
 

Author Closing Comment

by:loserbrewer
ID: 31599327
found and used httpget.exe freeware.

Thanks for helping
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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Few best practices specific to Network Configurations to be considered while deploying a Hyper-V infrastructure. It may not be the full list, but this could be a base line. Dedicated Network: Always consider dedicated network/VLAN for Hyper-V…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

13 Experts available now in Live!

Get 1:1 Help Now