Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 15th, 2004, 01:13 AM
Registered User
 
Join Date: Mar 2004
Location: coimbatore, , India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Download Files

Hello every body.
  I need help in downloading a zip file from other site to my site using PHP linux platform. say from example i have a zip file in the following site http://www.abc.com/download/Down.zip. this file has to be verified for the latest and downloaded to my site ie., www.mysite.com/downloads/Down.zip. but we should not use ftp commands in php because i dont no the password of the other site.

can any one help me.
and send a mail to my yahoo id.
thanks in advance.

with regadrs
srivignesh
  #2 (permalink)  
Old March 17th, 2004, 09:32 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use PHP's file commands to open a file over an HTTP connection.
  http://www.php.net/fopen


Take care,

Nik
http://www.bigaction.org/


Similar Threads
Thread Thread Starter Forum Replies Last Post
Download files from FTP dbellavi ASP.NET 1.0 and 1.1 Professional 7 July 19th, 2007 11:54 AM
How To Download Files sumith ASP.NET 1.0 and 1.1 Basics 2 June 22nd, 2007 12:45 AM
Download files from FTP dbellavi C# 0 June 14th, 2007 02:16 AM
When will the working download files ... kmccloud BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 3 July 13th, 2006 11:06 AM
Size of Download Files mslane BOOK: Expert One-on-One Access Application Development 1 October 2nd, 2004 07:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.