Upon Directory location failure with FTP, Ask for the path to wordpress
|Reported by:||dd32||Owned by:||dd32|
|Component:||Filesystem API||Keywords:||needs-patch 2nd-opinion|
Currently, If after connecting to the FTP server, WordPress cannot locate a Directory it needs, It'll simply error out, Requiring the user to define a few constants.
Instead, If the directories cannot be located, a message should be shown requesting the path of the directory. This should be shown along side the login credentials for future access attempts.
Fool-proofing will be required to prevent users entering the incorrect path, For example, Writing a file to the directory needed, and checking from within PHP that the file exists with the correct content.