Your best friend for file transfer.

Fetch application logoFetch

zip to save permission settings? (3 posts)

  • Started 17 years ago by rustyrobot
  • Latest reply 17 years ago from rustyrobot
  • rustyrobot Member

    I've developed a php site that I will download and upload on other servers. When I download my files I loose the permission settings. I was told I could download my files as a zip file and that will preserve the permissions. I have Fetch 5.1 and I have tried to find out how to do this, but have had no luck. Can someone please help.

    Thanks,
    Dave

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi Dave,

    Fetch could help you move the zip file around, but it cannot create it or unzip it on the server for you. The zip file needs to be created on the server, and Fetch only talks to servers via the FTP and SFTP protocols, neither of which include commands to tell the server to create a zip file.

    (Fetch can create a zip archive of files before uploading, but that doesn't help for your siutation.)

    So, you'd have to log into your account on the server using telnet or SSH or something similar, use the command line to create the zip file on the server, and then you could download that zip file with Fetch. After that you'd upload the zip file to the new server(s), log in to that server with telnet or SSH, and unzip the archive using the command-line again.

    Probably not as straightforward as you'd hoped, but it might still be less work than re-setting all the permissions.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

  • rustyrobot Member

    Thanks! I'll give it a try.

    Posted 17 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.