Pablo, is there a change in a recent release related to Publishing?
Since I installed version 17.3.0 (Jun 3 2022) it seems to create 2 extra folders under the main folder..
These are empty and will never be used since the top-level folder structure, that it has always created, is the one the browser uses.
I tested it on a different server and it did the same.
I also tested an earlier version (17.2.1) and this doesn't create the extra folders.
BTW www is treated the same as public_html on my server.
The Publish folder setting has www/test1
It does the same if I use public_html/test1 (i.e. it creates public_html/test1 under test1)
Omitting the www or public_html just puts the folder at a higher level above the public_html folder so isn't accessible by the browser.
I have many remote folders most of which contain separate 'mini' websites so except for the main website I always specify a remote folder.
The difference is when the folder doesn't initially exist.
If it doesn't exist the structure is created correctly as before.
If the structure already exists (which is the norm) then the 2 extra folders are created which is incorrect.
If the third party ftp functionality has been updated is there any documentation I could read about the change?
Adding the "." didn't make any diiference.
I have been using the same Publish format probably 1000's of times since 2009.
Something has changed since it works fine in version 17.2.1.
I wonder if any other user can test it out?
This is the log file when the folder already exists: Status: Current directory is '/'
Status: Setting remote folder to /www/test1...
PWD
257 "/" is your current location
CWD /www/test1
250 OK. Current directory is /public_html/test1
Creating directory /www
Creating directory /www/test1
Uploading 'index.css' from 'C:\Users\Michael\AppData\Local\Temp\~publish\' to '/www/test1/'
Successfully uploaded file.
MKD /www
550 Can't create directory: File exists
MKD www
257 "www" : The directory was successfully created
MKD /www/test1
550 Can't create directory: File exists
MKD www/test1
257 "www/test1" : The directory was successfully created
PASV
227 Entering Passive Mode (173,254,30,34,180,46)
STOR /www/test1/index.css
150 Accepted data connection
226-File successfully transferred
226 0.155 seconds (measured here), 3.65 Kbytes per second
Uploading 'index.html' from 'C:\Users\Michael\AppData\Local\Temp\~publish\' to '/www/test1/'
Successfully uploaded file.
PASV
227 Entering Passive Mode (173,254,30,34,153,54)
STOR /www/test1/index.html
150 Accepted data connection
226-File successfully transferred
226 0.172 seconds (measured here), 1.09 Kbytes per second
Uploading 'Untitled1.wbs' from 'C:\Users\Michael\AppData\Local\Temp\~publish\' to '/www/test1/'
Successfully uploaded file.
PASV
227 Entering Passive Mode (173,254,30,34,169,100)
STOR /www/test1/Untitled1.wbs
150 Accepted data connection
226-File successfully transferred
226 0.164 seconds (measured here), 55.03 Kbytes per second
QUIT
221-Goodbye. You uploaded 10 and downloaded 0 kbytes.
221 Logout.
Publish done!
Removing temporary files...
Successfully published!
*** END OF PUBLISH ***