Home Forums .NET libraries Xceed SFTP/FTP for .NET Access is denied when attempting to put files on an FTP server.

Viewing 1 post (of 1 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #21465 |

    The FTP server caches the file handles of the deleted files that were previously fetched preventing their deletion. After a minimum cache sweep period, the file finally gets deleted when the cached file handle is closed. If the same file is put on the server before this minimum sweep interval has elapsed, the Put command fails with the “Access is Denied” error message.

    After deleting the file, wait for a short time (about 30 seconds), and then copy (put) the new file to the FTP server.


    Rename the file that is to be deleted, copy the new file to the FTP server, and then delete the renamed file.

    ***Information provided by Sylvain Perez***

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Xceed admin (had 1740 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.