Hello,
we are very new to gsite crawler so please bear with us.
We have to use explicit SSL to upload files to our website.
when we try to upload the test file we get the following error
FTP Connection 28/10/2009 11:54
GSiteCrawler v1.23 rev. 286
----------------------------------------
Connecting to 194.143.179.40...
Using FTP/SSL (explicit)
Connect to
194.143.179.40:21 with user suttons
Connected.
220
234 AUTH command ok. Expecting TLS Negotiation.
Connected.
331 Password required for suttons.
230 User logged in.
Password ok
*** CONNECTION OK ***
257 "/" is current directory.
Checking Remote Directory ...
250 CWD command successful.
Directory exists
250 CWD command successful.
250 CWD command successful.
Putting C:\Program Files\SOFTplus\GSiteCrawler\Projects\Sample_Site\
$test.xml ...
200 Type set to I.
227 Entering Passive Mode (194,143,179,40,19,42).
ERROR!: Connect method failed. No connection could be made because the
target machine actively refused it. This usually results from trying
to connect to a service that is inactive on the foreign host - i.e.
one with no server application running.
Put failed: Error 10061: Connect method failed. No connection could be
made because the target machine actively refused it. This usually
results from trying to connect to a service that is inactive on the
foreign host - i.e. one with no server application running.
Putting C:\Program Files\SOFTplus\GSiteCrawler\Projects\Sample_Site\
$test.xml.gz ...
534 Policy requires SSL.
Put failed: 534 Policy requires SSL.
TOTAL 2 ERRORS.
221 Goodbye.
Connection Closed.
looking at the logs on the ftp server we find the following when we
get to the data transfer section
SSL+policy+requires+SSL+for+data+channel.
I assume gsitecrawler is logging in using ftp with explicit SSL but
then reverting to plain ftp for data transfer.
Is there anyway to ensure we continue to use ftp over explicit SSL at
all times?
For verification purposes we have used filezilla to connect to the
same site and to upload a test file this works as expected. I have
included this log ( not sure if it is of any use though )
Status: Connecting to 194.143.179.40:21...
Status: Connection established, waiting for welcome message...
Response: 220
Command: AUTH TLS
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER suttons
Status: TLS/SSL connection established.
Response: 331 Password required for suttons.
Command: PASS ********
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command: PBSZ 0
Response: 200 PBSZ command successful.
Command: PROT P
Response: 200 PROT command successful.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Status: Directory listing successful
Status: Connecting to 194.143.179.40:21...
Status: Connection established, waiting for welcome message...
Response: 220
Command: AUTH TLS
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER suttons
Status: TLS/SSL connection established.
Response: 331 Password required for suttons.
Command: PASS ********
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command: PBSZ 0
Response: 200 PBSZ command successful.
Command: PROT P
Response: 200 PROT command successful.
Status: Connected
Status: Starting upload of C:\test.xml
Command: CWD /
Response: 250 CWD command successful.
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (194,143,179,40,19,45).
Command: STOR test.xml
Response: 150 Opening BINARY mode data connection.
Response: 226 Transfer complete.
Status: File transfer successful
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (194,143,179,40,19,46).
Command: LIST -a
Response: 125 Data connection already open; Transfer starting.
Response: 226 Transfer complete.
Status: Directory listing successful
Status: Disconnected from server
any help you can give would be greatly appreciated
Kind regards
Spencer Clark