For some reason FTP no longer works - I have successfully published websites for a while.
I can access my website using another FTP client.
Testing access on wysiwyg shows that it connects correctly and the credentials are correct.
Changed the folder to which I am publishing - no change.
Logs show (redacted username):
*** START OF PUBLISH ***
Scanning publish folder...
Found 19 file(s).
Transfering 19 file(s) using FTP (standard File Transfer Protocol)
Connecting to wilsonsweather.host-ed.me (Attempt 1 of 3)
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 12:12. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER XXXXX
331 User XXXXX OK. Password required
PASS ****
230 OK. Current restricted directory is /
TYPE I
200 TYPE is now 8-bit binary
SYST
215 UNIX Type: L8
FEAT
211-Extensions supported:
UTF8
EPRT
IDLE
MDTM
SIZE
MFMT
REST STREAM
MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
MLSD
PRET
AUTH TLS
PBSZ
PROT
TVFS
ESTA
PASV
EPSV
211 End.
OPTS UTF8 ON
504 Unknown command
Status: Current directory is '/'
Creating directory /public_html
Creating directory /public_html/webtest1
Uploading 'Colour_Maps.css' from 'C:\Users\guywi\AppData\Local\Temp\~publish\' to '/public_html/webtest1/'
WWB-API-Log:
PutFile:
DllDate: Jan 26 2024
WWB-API-Version: 9.5.0.97
UnlockPrefix: PABLOS
UnlockStatus: 2
Architecture: Little Endian; 64-bit
Language: Visual C++ / x64
VerboseLogging: 0
remoteFilename: /public_html/webtest1/Colour_Maps.css
localFilename: C:\Users\guywi\AppData\Local\Temp\~publish\Colour_Maps.css
ProgressMonitoring:
enabled: yes
heartbeatMs: 0
sendBufferSize: 65536
--ProgressMonitoring
idleTimeoutMs: 60000
receiveTimeoutMs: 60000
connectTimeoutSeconds: 30
soRcvBuf: 4194304
soSndBuf: 262144
uploadFromLocalFile:
localFileSize: 11546
uploadFromDataSource:
initialGreeting: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 12:12. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
restartNext: 0
modeZ: 0
binaryMode: 1
setupDataConnection:
active transfer mode
setupActiveDataSocket:
Created data listen socket
Using ephemeral port range for Active data connection.
dataPort: 61111
portIpAddress: 192.168.0.125
MyIPv4: 192,168,0,125,238,183
sendCommand:
sendingCommand: PORT 192,168,0,125,238,183
--sendCommand
readCommandResponse:
WindowsError: An existing connection was forcibly closed by the remote host.
WindowsErrorCode: 0x2746
maxToReceive: 65536
Failed to receive data on the TCP socket
Failed to read FTP control channel reply.
readFtpReply: Socket fatal error.
--readCommandResponse
Closing data listen socket (4)
--setupActiveDataSocket
Failed to setup active data socket.
Try using passive mode instead.
--setupDataConnection
Failed to setup data connection for upload.
readRepliesAfterFailedDataConn:
readCommandResponse:
Failed to read FTP control channel reply.
readFtpReply: Socket connection closed.
--readCommandResponse
--readRepliesAfterFailedDataConn
--uploadFromDataSource
Failed.
--uploadFromLocalFile
totalTime: Elapsed time: 21718 millisec
Failed.
--PutFile
--WWB-API-Log
Failed to upload file!
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 12:12. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER XXXXX
331 User XXXXXX OK. Password required
PASS ****
230 OK. Current restricted directory is /
TYPE I
200 TYPE is now 8-bit binary
SYST
215 UNIX Type: L8
FEAT
211-Extensions supported:
UTF8
EPRT
IDLE
MDTM
SIZE
MFMT
REST STREAM
MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
MLSD
PRET
AUTH TLS
PBSZ
PROT
TVFS
ESTA
PASV
EPSV
211 End.
OPTS UTF8 ON
504 Unknown command
Uploading 'Colour_Maps.css' from 'C:\Users\guywi\AppData\Local\Temp\~publish\' to '/public_html/webtest1/'
WWB-API-Log:
PutFile:
DllDate: Jan 26 2024
WWB-API-Version: 9.5.0.97
UnlockPrefix: PABLOS
UnlockStatus: 2
Architecture: Little Endian; 64-bit
Language: Visual C++ / x64
VerboseLogging: 0
remoteFilename: /public_html/webtest1/Colour_Maps.css
localFilename: C:\Users\guywi\AppData\Local\Temp\~publish\Colour_Maps.css
ProgressMonitoring:
enabled: yes
heartbeatMs: 0
sendBufferSize: 65536
--ProgressMonitoring
idleTimeoutMs: 60000
receiveTimeoutMs: 60000
connectTimeoutSeconds: 30
soRcvBuf: 4194304
soSndBuf: 262144
uploadFromLocalFile:
localFileSize: 11546
uploadFromDataSource:
initialGreeting: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 12:12. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
restartNext: 0
modeZ: 0
binaryMode: 1
setupDataConnection:
active transfer mode
setupActiveDataSocket:
Created data listen socket
Using ephemeral port range for Active data connection.
dataPort: 61115
portIpAddress: 192.168.0.125
MyIPv4: 192,168,0,125,238,187
sendCommand:
sendingCommand: PORT 192,168,0,125,238,187
--sendCommand
readCommandResponse:
WindowsError: An existing connection was forcibly closed by the remote host.
WindowsErrorCode: 0x2746
maxToReceive: 65536
Failed to receive data on the TCP socket
Failed to read FTP control channel reply.
readFtpReply: Socket fatal error.
--readCommandResponse
Closing data listen socket (4)
--setupActiveDataSocket
Failed to setup active data socket.
Try using passive mode instead.
--setupDataConnection
Failed to setup data connection for upload.
readRepliesAfterFailedDataConn:
readCommandResponse:
Failed to read FTP control channel reply.
readFtpReply: Socket connection closed.
--readCommandResponse
--readRepliesAfterFailedDataConn
--uploadFromDataSource
Failed.
--uploadFromLocalFile
totalTime: Elapsed time: 19297 millisec
Failed.
--PutFile
--WWB-API-Log
Failed to upload file!
PORT 192,168,0,125,238,187
Publish done!
Removing temporary files...
Publish failed!
*** END OF PUBLISH ***
*** SOLVED *** Publish/FTP no longer works/fails
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
Re: Publish/FTP no longer works/fails
Based on the log, you have unchecked "passive mode" which means that your firewall will most likely block the connection.PORT 192,168,0,125,238,183
Please make sure 'passive mode' is checked unless you have a good reason not to do so.
Also note that most web hosts no longer support standard FTP for security reasons so you may want to check that also.
It is safer to use SFTP or FTPS.
Re: Publish/FTP no longer works/fails
Bingo, that worked (checking passive mode). Thanks!
Guy
Guy