I am customising storj connection in FileZIlla to Storj-Uplink C latest v1.0.5
For that, I had edited some front-end and backend files.
It compiled successfully.
Hoever, while logging on by Storj credentials, I see the following in my message window:
Code: Select all
Status: Connecting to us-central-1.tardigrade.io:7777...
Error: fzstorj could not be started
Error: Could not connect to server
Status: Waiting to retry...
I found that the file filezilla/src/engine/storj/storjcontrolsocket.cpp handles some of that functionality.
So, i added
Code: Select all
log(logmsg::error, _("nErrorCode: %d"), nErrorCode);
Code: Select all
int CStorjControlSocket::ResetOperation(int nErrorCode)
{
if (!operations_.empty() && operations_.back()->opId == Command::connect) {
auto &data = static_cast<CStorjConnectOpData &>(*operations_.back());
if (data.opState == connect_init && nErrorCode & FZ_REPLY_ERROR && (nErrorCode & FZ_REPLY_CANCELED) != FZ_REPLY_CANCELED) {
log(logmsg::error, _("fzstorj could not be started"));
/////
log(logmsg::error, _("nErrorCode: %d"), nErrorCode);
/////
}
}
if (!operations_.empty() && operations_.back()->opId == Command::del && !(nErrorCode & FZ_REPLY_DISCONNECTED)) {
auto &data = static_cast<CStorjDeleteOpData &>(*operations_.back());
if (data.needSendListing_) {
SendDirectoryListingNotification(data.path_, false);
}
}
return CControlSocket::ResetOperation(nErrorCode);
}
Code: Select all
Status: Connecting to us-central-1.tardigrade.io:7777...
Error: fzstorj could not be started
Error: nErrorCode: 66
Error: Could not connect to server
Status: Waiting to retry...
Kindly help
Thanks