FTP problems
Posted: Fri 26 Nov 2021 3:51 pm
Hi there
Sorry, this is probably a basic issue/error, but I'm tearing my hair out getting the ftp to work on the latest version of mx and a new server.
I've had to move my website to a new server. The original website was located at /public_html/weather_mx and was working as expected. On the new server I've created an identical folder at public_html/weather_mx and copied the old files over into the new one.
The website is showing the data that was copied over, but isn't updating. I've gone into the cumulus admin settings and updated them to the new ftp server, and it's connecting to the server using plain ftp, but is throwing up errors of files not being found or as you can see from a sample of the log below. The host name is clydeinfo.co.uk and the direct path to the data is clydeinfo.co.uk/public_html/weather_mx/ so I've got that set up as public_html/weather_mx/ as the path?
Any thoughts/ suggestions?
Thanks, Stuart
# Connect()
Status: Connecting to 35.214.105.127:21
Response: 220-##########################################################
Response: 220-Please upload your web files to the public_html directory.
Response: 220-Note that letters are case sensitive.
Response: 220-##########################################################
Response: 220 This is a private system - No anonymous login
Command: USER csadmin@clydeinfo.co.uk
Response: 331 User csadmin@clydeinfo.co.uk OK. Password required
Command: PASS ***
Response: 230-Your bandwidth usage is restricted
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: ESTP
Response: 211 End.
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 504 Unknown command
Command: SYST
Response: 215 UNIX Type: L8
Status: Testing connectivity using Socket.Poll()...
2021-11-26 15:37:20.330 Realtime[0]: Uploading - realtimegauges.txt
2021-11-26 15:37:20.330 FTP[0]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,96
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:20.471 FTP[0]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:34.689 Realtime[1]: Uploading - realtimegauges.txt
2021-11-26 15:37:34.689 FTP[1]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,97
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:34.767 FTP[1]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:49.704 Realtime[2]: Uploading - realtimegauges.txt
2021-11-26 15:37:49.704 FTP[2]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,98
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:49.783 FTP[2]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
Sorry, this is probably a basic issue/error, but I'm tearing my hair out getting the ftp to work on the latest version of mx and a new server.
I've had to move my website to a new server. The original website was located at /public_html/weather_mx and was working as expected. On the new server I've created an identical folder at public_html/weather_mx and copied the old files over into the new one.
The website is showing the data that was copied over, but isn't updating. I've gone into the cumulus admin settings and updated them to the new ftp server, and it's connecting to the server using plain ftp, but is throwing up errors of files not being found or as you can see from a sample of the log below. The host name is clydeinfo.co.uk and the direct path to the data is clydeinfo.co.uk/public_html/weather_mx/ so I've got that set up as public_html/weather_mx/ as the path?
Any thoughts/ suggestions?
Thanks, Stuart
# Connect()
Status: Connecting to 35.214.105.127:21
Response: 220-##########################################################
Response: 220-Please upload your web files to the public_html directory.
Response: 220-Note that letters are case sensitive.
Response: 220-##########################################################
Response: 220 This is a private system - No anonymous login
Command: USER csadmin@clydeinfo.co.uk
Response: 331 User csadmin@clydeinfo.co.uk OK. Password required
Command: PASS ***
Response: 230-Your bandwidth usage is restricted
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: ESTP
Response: 211 End.
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 504 Unknown command
Command: SYST
Response: 215 UNIX Type: L8
Status: Testing connectivity using Socket.Poll()...
2021-11-26 15:37:20.330 Realtime[0]: Uploading - realtimegauges.txt
2021-11-26 15:37:20.330 FTP[0]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,96
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:20.471 FTP[0]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:34.689 Realtime[1]: Uploading - realtimegauges.txt
2021-11-26 15:37:34.689 FTP[1]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,97
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:34.767 FTP[1]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:49.704 Realtime[2]: Uploading - realtimegauges.txt
2021-11-26 15:37:49.704 FTP[2]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp
# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence
# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,98
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...
# CloseDataStream()
2021-11-26 15:37:49.783 FTP[2]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory