Author Topic: Problem in Uploading and Downloading the PHP Files from FTP  (Read 455 times)

raghav

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Problem in Uploading and Downloading the PHP Files from FTP
« on: September 03, 2010, 07:08:26 AM »
Hello,
 
  I am trying to download and upload PHP files from FTP.
 
  The folder size is around 65 mb. But there are more than 2000 to 3000   files (includes tinymce files+jscripts). Am using FireFTP to do this.
 
  1. How to find that I've downloaded all the files correctly (Should not miss any file)
 
  2. How to upload all these files without missing any of the file because it causes error or it redirects some other URL.
 
  Please guide me through how to solve this problem.
 
  Thanks
  Raghav.

phphelp

  • Administrator
  • Senior Member
  • *****
  • Posts: 777
  • Karma: +3/-0
    • View Profile
    • PHP Help forum
Re: Problem in Uploading and Downloading the PHP Files from FTP
« Reply #1 on: September 04, 2010, 03:35:42 AM »
If there are 2000-3000 files it is best to zip them before downloading. If you can not access via ssh, you still can try execute shell commands using exec() function, or use some of php classes that allow you to create zip. For example: http://www.phpconcept.net/pclzip
Are you experienced in PHP programming and willing to share your knowledge?
Join us at php help forum!

raghav

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Problem in Uploading and Downloading the PHP Files from FTP
« Reply #2 on: September 06, 2010, 04:12:10 AM »
How to zip them in the FTP server - They are in a domain. Can you guide through. What is the process?