Click here to Skip to main content
15,883,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

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.
Posted
Updated 24-Jun-19 14:14pm

1 solution

Since you can't execute a remote command on an FTP server, you're going to find it impossible to do that.
 
Share this answer
 
Comments
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900