[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Automating the retrival of a file

Posted on 2009-07-02
7
Medium Priority
?
252 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 44

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 44

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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 44

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 44

Accepted Solution

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

649 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