Solved

Automating the retrival of a file

Posted on 2009-07-02
7
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 43

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 43

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 43

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 43

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Introduction In one of my previous articles (http://www.experts-exchange.com/Microsoft/Applications/Virtual_Server/Hyper-V/A_10686-Creating-a-Hyper-V-Cluster-on-Windows-2012.html), I explained how to create a native Windows 2012 Cluster.  The metho…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

705 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