FTP permissions retention

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

FTP permissions retention

Postby mdubash on Mon Feb 08, 2016 12:13 pm

Hi

Still on the trial period, and this may be a make or break issue for me.

I've found Syncovery a great tool for near-instant publishing/updating of website pages over ftp. However the pages need to have the execute bit set as they do server-side includes (ie 755) but when Syncovery transfers a file to the site using ftp, its permissions are reset to 644. Yet when using an ftp client such as Filezilla, this does not happen, so I can only assume that Syncovery is doing something else. Whatever it is, it means I have to manually reset file perms every time. Not fun.

I've not found a setting that can fix this - what I missing?

Thanks.
mdubash
 
Posts: 4
Joined: Mon Feb 08, 2016 11:46 am

Re: FTP permissions retention

Postby superflexible on Mon Feb 08, 2016 3:02 pm

That's very interesting.

Should existing, updated files retain the permissions, or should all uploaded files get 755?
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: FTP permissions retention

Postby mdubash on Wed Feb 10, 2016 12:22 pm

Expected behaviour would be not to change any attributes unless explicitly so requested.
mdubash
 
Posts: 4
Joined: Mon Feb 08, 2016 11:46 am

Re: FTP permissions retention

Postby superflexible on Wed Feb 10, 2016 1:20 pm

Hello,
Syncovery does not change any attributes. It just uploads the file. Since it is then a new file, your FTP server assigns its default permissions for new files.

Maybe FileZilla takes special precautions to retain the original permissions, but that is an extra step.

Maybe you can look at the FTP commands that FileZilla uses and let me know how it manages to preserve the permissions.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: FTP permissions retention

Postby mdubash on Fri Feb 12, 2016 1:19 pm

I'll check it out - thanks for your help.
mdubash
 
Posts: 4
Joined: Mon Feb 08, 2016 11:46 am

Re: FTP permissions retention

Postby superflexible on Fri Feb 12, 2016 1:37 pm

Hello,
I am about to add an option to set permissions for all uploaded files, for example chmod 755. So again my question, is it OK for you if all files get these permissions, or only some?
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: FTP permissions retention

Postby mdubash on Fri Feb 26, 2016 7:45 am

Sorry for the late response.

I'd prefer to be able to set permissions for particular types of file eg jpgs can get 644 while html files get 755.
mdubash
 
Posts: 4
Joined: Mon Feb 08, 2016 11:46 am

Re: FTP permissions retention

Postby superflexible on Sun Dec 24, 2017 10:29 am

Probably too late for you, but Syncovery 8 will get an integrated scripting language in a few days, allowing you to add FTP commands and even do chmod dependent on the file type.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron