Click here to Skip to main content
14,454,632 members
Rate this:
Please Sign up or sign in to vote.

Currently, I publish my website using visual studio FTP publish to a hosting server.

After all files are published, I need to give execute permission to one particular file. Is there a way to automate this functionality so that it would be run after a successful publishing of my website?

Thanks in advance!

What I have tried:

So far I'm doing this manually, using chmod on the server, not sure if this could be automated though.
Updated 24-Jun-19 15:14pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Since you can't execute a remote command on an FTP server, you're going to find it impossible to do that.
Ryan Zahra 25-Jun-19 2:26am
That's what I was thinking too, but I asked maybe someone has already been through this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100