I just transferred files and folders from my local machine to my web server using SFTP.Doing ls -l on both machines indicates file and folder permissions seems to have changed.Why would this happen?
File permissions changed after SFTP
permissions;sftp
New files copied over are generally given a filter through the umask when written to a new location.  To preserve the permissions as at the source, use scp -p (see also cp -p; rsync -p).