Publish failed server does not support passive mode

Issues related to previewing and publishing your web site.
Post Reply
David Stokes
Posts: 10
Joined: Tue Sep 02, 2014 3:25 pm

Publish failed server does not support passive mode

Post by David Stokes »

I am running version 6.2.1.

Ever since the update, publishing has become hit or miss. It sets up the connection with passive mode okay, and then at some later stage it suddenly stops uploading files with a message saying that the server does not support passive mode.

This did not happen before.

At times I have had to resort to publishing locally, and then use my general ftp program to upload to the web. That one uses passive mode and never has a problem.

My server is Domain.com.
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Publish failed server does not support passive mode

Post by Pablo »

Nothing related to FTP has changed in recent versions.
Maybe something has changed on server side?
For example, maybe they have switched to Secure FTP?

What exact information is in the publish log?
David Stokes
Posts: 10
Joined: Tue Sep 02, 2014 3:25 pm

Re: Publish failed server does not support passive mode

Post by David Stokes »

I am not aware of any changes at the server end. And it does often successfully publish, but often with many failures in between. Usually the error message is 'server does not accept passive mode' even though it has earlier stated it had connected successfully in passive mode and has transferred a load of files before suddenly failing. One one occasion the error was ' not able to connect binary mode'. I didn't ask it to., and it had connected passive mode at the beginning of the failed publish.

This is the log for one of the fails.
12/10/2018 12:53:12.000 *** START OF PUBLISH ***
12/10/2018 12:53:12.000 Scanning publish folder...
12/10/2018 12:53:12.000 Found 64 file(s).
12/10/2018 12:53:13.000 Initializing FTP connection...
12/10/2018 12:53:13.000 Connecting to ftp.domain.com...
12/10/2018 12:53:13.000 Using PASV mode.
12/10/2018 12:53:14.000 Succesfully connected.
12/10/2018 12:53:14.000 Current directory is '/'
12/10/2018 12:53:14.000 Setting remote folder to /public_html/...
12/10/2018 12:53:14.000 Response from server: 550 fancybox: File exists
12/10/2018 12:53:14.000 Response from server: 550 images: File exists
12/10/2018 12:53:14.000 Response from server: 550 js: File exists
12/10/2018 12:53:14.000 Uploading 'fancy_title_left.png'...
12/10/2018 12:53:15.000 Uploading 'fancybox.png'...
12/10/2018 12:53:16.000 Uploading 'fancy_nav_left.png'...
12/10/2018 12:53:16.000 Uploading 'jquery.mousewheel-3.0.4.pack.js'...
12/10/2018 12:53:17.000 Uploading 'jquery.fancybox-1.3.4.css'...
12/10/2018 12:53:18.000 Uploading 'fancy_shadow_nw.png'...
12/10/2018 12:53:18.000 Uploading 'fancy_nav_right.png'...
12/10/2018 12:53:19.000 Uploading 'fancy_shadow_s.png'...
12/10/2018 12:53:19.000 Uploading 'fancy_shadow_e.png'...
12/10/2018 12:53:20.000 Uploading 'fancy_shadow_w.png'...
12/10/2018 12:53:20.000 Uploading 'fancy_shadow_ne.png'...
12/10/2018 12:53:21.000 Uploading 'jquery.easing-1.3.pack.js'...
12/10/2018 12:53:22.000 Uploading 'fancy_close.png'...
12/10/2018 12:53:22.000 Uploading 'fancy_title_right.png'...
12/10/2018 12:53:23.000 Uploading 'fancy_shadow_n.png'...
12/10/2018 12:53:23.000 Uploading 'fancy_title_main.png'...
12/10/2018 12:53:25.000 Uploading 'fancy_title_over.png'...
12/10/2018 12:53:25.000 Uploading 'fancy_shadow_sw.png'...
12/10/2018 12:53:26.000 Uploading 'fancybox-x.png'...
12/10/2018 12:53:26.000 Uploading 'blank.gif'...
12/10/2018 12:53:27.000 Uploading 'jquery.fancybox-1.3.4.pack.js'...
12/10/2018 12:53:28.000 Uploading 'fancybox-y.png'...
12/10/2018 12:53:28.000 Uploading 'fancy_loading.png'...
12/10/2018 12:53:29.000 Uploading 'fancy_shadow_se.png'...
12/10/2018 12:53:31.000 Uploading 'Remembrance-9.jpg'...
12/10/2018 12:53:43.000 Uploading 'img0023.png'...
12/10/2018 12:53:43.000 Uploading 'Remembrance-20.jpg'...
12/10/2018 12:53:51.000 Uploading 'Remembrance-21.jpg'...
12/10/2018 12:54:02.000 Uploading 'img0022.png'...
12/10/2018 12:54:03.000 Uploading 'Remembrance-8.jpg'...
12/10/2018 12:54:22.000 Uploading 'img0020.png'...
12/10/2018 12:54:23.000 Uploading 'Remembrance-23.jpg'...
12/10/2018 12:54:38.000 Uploading 'img0021.png'...
12/10/2018 12:54:39.000 Uploading 'Title.png'...
12/10/2018 12:54:40.000 Uploading 'img0025.png'...
12/10/2018 12:54:41.000 Uploading 'Remembrance-26.jpg'...
12/10/2018 12:54:54.000 Uploading 'Remembrance-27.jpg'...
12/10/2018 12:55:10.000 Uploading 'img0024.png'...
12/10/2018 12:55:11.000 Uploading 'Remembrance-25.jpg'...
12/10/2018 12:55:31.000 Uploading 'Remembrance-19.jpg'...
12/10/2018 12:55:53.000 Uploading 'Remembrance-18.jpg'...
12/10/2018 12:56:08.000 Uploading 'img0021_over.png'...
12/10/2018 12:56:09.000 Uploading 'img0024_over.png'...
12/10/2018 12:56:09.000 Uploading 'img0025_over.png'...
12/10/2018 12:56:10.000 Uploading 'dsp.png'...
12/10/2018 12:56:20.000 Uploading 'armistice2018_bkgrnd.png'...
12/10/2018 12:56:20.000 Uploading 'Remembrance-15.jpg'...
12/10/2018 12:56:40.000 Uploading 'Remembrance-14.jpg'...
12/10/2018 12:56:51.000 Uploading 'img0023_over.png'...
12/10/2018 12:56:51.000 Uploading 'img0022_over.png'...
12/10/2018 12:56:52.000 Uploading 'Remembrance-3.jpg'...
12/10/2018 12:57:02.000 Uploading 'Remembrance-16.jpg'...
12/10/2018 12:57:22.000 Uploading 'Remembrance-17.jpg'...
12/10/2018 12:57:38.000 Uploading 'Remembrance-2.jpg'...
12/10/2018 12:57:54.000 Uploading 'Remembrance-6.jpg'...
12/10/2018 12:58:14.000 Uploading 'Remembrance-13.jpg'...
12/10/2018 12:58:35.000 Uploading 'Remembrance-12.jpg'...
12/10/2018 12:58:57.000 Uploading 'Remembrance-7.jpg'...
12/10/2018 12:59:13.000 Uploading 'Remembrance-5.jpg'...
12/10/2018 13:00:03.000 Uploading 'Remembrance-10.jpg'...
12/10/2018 13:00:03.000 Unable to upload file:
12/10/2018 13:00:03.000 Removing temporary files...
12/10/2018 13:00:03.000 Publish failed!
12/10/2018 13:00:03.000 *** END OF PUBLISH ***
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Publish failed server does not support passive mode

Post by Pablo »

I'm sorry, the log does not give any information about the error.
Does your web host support secure ftp?
David Stokes
Posts: 10
Joined: Tue Sep 02, 2014 3:25 pm

Re: Publish failed server does not support passive mode

Post by David Stokes »

Yes it does support sftp, using a different port.

Could the problem be that the ftp program you use is not optimized for OS Mojave?

I say this because I have done about 5 uploads today, which has included 5 or more failures in between successes. The error messages have varied. Most are "server does not support passive mode", even though it has said it has connected in passive mode at the beginning and then gone through uploading loads of files before coming up with the error. The last of the failures messages was 'can't connect to binary mode'. Why? I hadn't done anything, just watched the passive mode connection start, files start to upload, and hoped it would finish successfully.

As half the time it works, I am clearly not doing anything wrong. It seems to be instability in the ftp program. I never have problems with my general ftp program.
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Publish failed server does not support passive mode

Post by Pablo »

I do not think it has anything to do with Mojave. FTP is a very basic protocol and it has not been changed for a very long time.
Usually these type of errors are related to a firewall or router.

If your host supports SFTP then that may work more stable, because this a more advanced protocol.
Post Reply