Page 1 of 1
Publish creates 2 new folders
Posted: Thu Jun 09, 2022 9:16 am
by WWBman
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)
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 9:28 am
by Pablo
I did not make any changes to this, but WWB uses a third party FTP functionality which has been updated.
Maybe you no longer need to specify the remote folder?
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 2:20 pm
by WWBman
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?
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 2:33 pm
by Pablo
maybe you will need to set ./www/test1 insteed of www/test1
If you need further assistance, then please contact me via email. because I probably need to know your FTP settings to be of any help.
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 2:59 pm
by WWBman
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?
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 3:18 pm
by Pablo
Did you use
./www/test1
with dot slash?
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 3:18 pm
by WWBman
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 ***
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 3:19 pm
by WWBman
Pablo wrote: ↑Thu Jun 09, 2022 3:18 pm
Did you use
./www/test1
with dot slash?
Yes
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 3:30 pm
by Pablo
What is the log of the previous version?
Note that there is not much I can do without access to the server.
Re: Publish creates 2 new folders
Posted: Thu Jun 09, 2022 4:07 pm
by WWBman
Details requested emailed to the info address.
Thanks.