login about faq
0
1

Hi

Recently I have updated Chilkat library using below link

http://www.chilkatsoft.com/downloads_ios.asp

Before update this It was working perfectly. But when I update this library , Its not working. LastErrorHTML for PutFile method is

ChilkatLog:

PutFile:
DllDate: Aug 26 2015
ChilkatVersion: 9.5.0.52
UnlockPrefix: M2CMSYFTP
Architecture: Little Endian; 64-bit
Language: IOS Objective-C
VerboseLogging: 0
LocalFilename: /var/mobile/Containers/Data/Application/609B6A1E-2048-41E5-838D-45110C78E12F/Documents/09092015-[110029]-[1].xml
RemoteFilename: 09092015-[110029]-[1].xml
ProgressMonitoring:
enabled: no
heartbeatMs: 0
sendBufferSize: 65536
IdleTimeoutMs: 60000
ReceiveTimeoutMs: 60000
ConnectTimeoutSeconds: 30
uploadFromLocalFile:
localFileSize: 945
uploadFromDataSource:
initialGreeting: 220 Serv-U FTP Server v14.0 ready...
restartNext: 0
modeZ: 0
binaryMode: 1
pbsz_protp:
simpleCommand:
sendCommand:
sendingCommand: PBSZ 0
readCommandResponse:
replyLineQP: 200 PBSZ command OK. Protection buffer size set to 0.
simpleCommand:
sendCommand:
sendingCommand: PROT P
readCommandResponse:
replyLineQP: 200 PROT command OK. Using private data connection.
setupDataConnection:
passive transfer mode
setupPassiveDataSocket:
sendCommand:
sendingCommand: PASV
readCommandResponse:
replyLineQP: 227 Entering Passive Mode (192,168,50,55,216,250)
dataConnect:
hostname: 192.168.50.55
port: 55546
socket2Connect:
connect2:
connectSocket:
connect_ipv6_or_ipv4:
timeout waiting for connect to complete
numSec: 30
numMicroSec: 0
failedWaitToConnect: Socket operation timeout.
ConnectFailReason: Timeout
dataConnectSuccess: 0
Try setting the PassiveUseHostAddr property = true
setupPassiveDataSocket dataConnect failed.
Failed to setup passive data socket for upload
Failed to setup data connection for upload.
readRepliesAfterFailedDataConn:
readCommandResponse:
idleTimeoutMs: 1000
tlsReadIncoming: Socket operation timeout.
Failed to receive more TLS applicaton data.
recvUntilMatch: Socket operation timeout.
Failed to read FTP control channel reply.
readFtpReply: Socket operation timeout.
shutdownChannel:
terminateConnection:
error on socket shutdown.
socketErrno: 57
socketError: Socket is not connected
Failed.
TotalTime: Elapsed time: 32655 millisec
Failed.

and when I call PutFile method , it says NO

CkoFtp2 *ftp = [[CkoFtp2 alloc] init];
BOOL value = [ftp PutFile:dataFilePath remoteFilename:xmlName];

Can anyone please tell me Is there any other procedure I should do after updating Chilkat library ?

asked Sep 08 '15 at 08:13

mani%20murugan's gravatar image

mani murugan
12

edited Sep 09 '15 at 01:50


  1. You've given us the LastErrorText for the Connect method, not the PutFile method.
  2. Put the LastErrorText in "pre" tags so that it's readable.
  3. FTP2 is NOT SFTP. SFTP is secure file transfer over SSH. "FTPS" is FTP over SSL/TLS.
  4. Chilkat v9.5.0.52 is the latest version.
link

answered Sep 08 '15 at 08:57

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thanks for your reply. Can you please see my updated question ? I have added LastErrorHTML with Question. I am using Latest Version of chitchat library. Thanks in advance.

(Sep 09 '15 at 01:52) mani murugan
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98

Asked: Sep 08 '15 at 08:13

Seen: 1,085 times

Last updated: Sep 09 '15 at 07:37

powered by OSQA