Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    278

    * Is this possible?

    Hi,

    I have a folder with around 15,000 gif images in it,
    the size of the file is 2kb each, now the problem is that if I will upload the folder through ftp software like smartFTP it will take very long time to upload the all images of the folder,

    Is this possible I can zip the folder and make folder.zip and upload the file on ftp and then extract it from SSH?

    If its possible, please tell me the easy steps.

    Thanks

    Regards
    Hassan

  2. #2
    Join Date
    Jul 2009
    Posts
    71
    Yes, just zip the folder up on your computer and upload it somewhere on your server, like /home/hassan.

    Then, cd to /home/hassan and type unzip filename.zip and you should have your folder.

    If you get a "unknown command" error, you need to install the package. apt-get install zip should do the trick (ubuntu and debian) for CentOS (although I'm not too sure) try yum install zip. Make sure you're a superuser to do these.
    Last edited by Teardrop; 08-03-2009 at 06:10 PM.

  3. #3
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    You can use the following step to archieve and zip the folder that contains .gif files

    tar -czvf folder_gif.tar.gz /home/user/gif_folder/*

    Now you can upload the tar file "folder_gif.tar.gz " via SFtp and extract it in the server using the following command

    tar -xzvf folder_gif.tar.gz
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  4. #4
    Join Date
    Sep 2008
    Location
    Dallas, TX
    Posts
    4,552
    Quote Originally Posted by Hassan View Post
    Hi,

    I have a folder with around 15,000 gif images in it,
    the size of the file is 2kb each, now the problem is that if I will upload the folder through ftp software like smartFTP it will take very long time to upload the all images of the folder,

    Is this possible I can zip the folder and make folder.zip and upload the file on ftp and then extract it from SSH?

    If its possible, please tell me the easy steps.

    Thanks

    Regards
    Hassan
    Zip the file on the computer, upload via FTP. Login cPanel and click "File manager" and then click "Unzip"
    Jacob Wall - GetCloak.com

  5. #5
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    If you are in a windows box , then you can use software's to tar and zip. After that you can upload this file to your server via your favorite ftp client.

    You can extract the uploaded file using the following command

    tar -xzvf folder_gif.tar.gz
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  6. #6
    Join Date
    Mar 2009
    Location
    Austin Tx
    Posts
    2,001
    You are not going to get much of a compression ratio on gifs.
    Size will be about the same, so don't look for much relief.
    This is the best signature in the world....Tribute!
    (It is not the best signature in the world, no. This is just a tribute)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •