Solved

Automating the retrival of a file

Posted on 2009-07-02
7
246 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 (Megan)
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 (Megan)
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 42

Expert Comment

by:zephyr_hex (Megan)
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 (Megan) 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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