Your best friend for file transfer.Fetch
zip to save permission settings? (3 posts)
- Started 9 years ago by rustyrobot
- Latest reply 9 years ago from rustyrobot
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.
Scott McGuire Administrator
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! I'll give it a try.
- Page 1