On FTP servers to change the chmod you need to use SITE CHMOD <mode> <\path\name>
To do this you need to use one of the following:
- Use a text file for the raw commands.
The command line would become
"C:\Program Files (x86)\FlashFXP 4\flashfxp.exe" MyHost\mydomain.com -raw="[raw.txt]"
The raw.txt file must be created in your FlashFXP data folder.
(location can be determined via FlashFXP > Help > About > Details).
the content of the raw.txt is one command per line.
SITE CHMOD 777 /public_html/wp-content/
SITE CHMOD 777 /public_html/.htaccess
SITE CHMOD 777 /public_html/wp-config.php
- Execute the raw command using text content stored in the windows clipboard.
The command line would become
"C:\Program Files (x86)\FlashFXP 4\flashfxp.exe" MyHost\mydomain.com -raw="%c"
The clipboard content is interpreted as one command per line
The -remotepath switch is not valid in this context you need to provide the absolute path to the file or folder you want to perform the operation on.