• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ftp permissions error

P

propagandalabs

Guest
When we try to publish a site which has any "special pages" (such as an image gallery or a blog) or modules (such as a feedback form), we get the following error:

Cannot publish site. FTP error: Access denied. You do not have enough permissions.

Removing the special page or module from the site immediately solves the problem.

What permissions need to be changed to fix this problem?

Thanks in advance.
 
Hello,
Please look through Log messages in the admin panel. Publications errors and warnings must be stored there.
 
ftp publish errors

below are the errors that got log in to plesk how to we fix these issues

thanks


Xceed.Ftp.FtpReplyException: App_Data/Blobs/: Access is denied. (reply code 550)
at Xceed.Ftp.Engine.FtpCommand.EndExecute(IAsyncResult asyncResult)
at Xceed.Ftp.Engine.FtpCommand.Execute(FtpCommandChannel commandChannel)
at Xceed.Ftp.FtpClient.CreateFolder(String folder)
at SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient.Ensure(String a_path)
at SWsoft.SiteBuilder.Repository.FtpResources.FtpResourceFolder.Ensure()
at SWsoft.SiteBuilder.Repository.FtpResources.FtpResourceFolderLiveCollection.GetResource(FtpEntryInfo a_fei, Boolean a_flagCreateNew)
at SWsoft.SiteBuilder.Repository.FtpResources.FtpResourceLiveCollection`2.Add(String name)
at SWsoft.SiteBuilder.Repository.ResourceHelper.Replace(IResourceFolder source, IResourceFolder target, ReplaceCallback callback, Object data)
at SWsoft.SiteBuilder.Repository.ResourceHelper.Replace(IResourceFolder source, IResourceFolder target, ReplaceCallback callback, Object data)
at SWsoft.SiteBuilder.BO.Facade.PublishTask.<>c__DisplayClass2.b__0()
at SWsoft.SiteBuilder.BO.Facade.PublishHelper.CheckPublishExceptions(CheckPublishExceptionsMethod a_method)
The FTP reply was:
550 App_Data/Blobs/: Access is denied.

--- End of inner exception stack trace ---
at SWsoft.SiteBuilder.BO.Facade.PublishHelper.CheckPublishExceptions(CheckPublishExceptionsMethod a_method)
at SWsoft.SiteBuilder.BO.Facade.PublishTask.Run(Object a_data)
 
This string "App_Data/Blobs/: Access is denied" tells the root problem - ftp's account hasn't rights to write to this folder. This account should have rights to read/write/create/delete on this folder.

By the way, don't forget to check if site's account (iis identity) has the same rights. It's required for site's life cycle.

If you have the same problem with all your sites in Plesk - please write them here or call Plesk support team.
 
Back
Top