Archived Forum Post

Index of archived forum posts

Question:

Can't upload multiple files with FTP using Explicit SSL/TLS

Dec 04 '15 at 03:56

Hi, i'm new guy here, i might need some help. And forgive my English. The point is, i want to upload multiple file with FTP using Explicit SSL/TLS but i found the upload failed. Not all files transfered. It seems like the upload process didn't read the ftp login before. Or something else i don't know. The second thing is, from the output file i read that i logged into the ftp server by using virtual user and IP. Can i log into the ftp server by using my real public IP that i have. Because the server policy only allow me to upload file from certain IP.

Ok this is the output file, hope you can help me, i please. thank you

ChilkatLog: Connect_Ftp2: DllDate: Oct 29 2015 ChilkatVersion: 9.5.0.54 UnlockPrefix: Anything for 30-day trial Username: ASPIRE-PC:ACER Architecture: Little Endian; 64-bit Language: ActiveX / x64 VerboseLogging: 0 ProgressMonitoring: enabled: yes heartbeatMs: 0 sendBufferSize: 65536 --ProgressMonitoring ImplicitSsl: 0 AuthTls: 1 AuthSsl: 0 ftpConnect: Hostname: ft.toyota.astra.co.id Port: 21 IdleTimeoutMs: 60000 socketOptions: SO_SNDBUF: 262144 SO_RCVBUF: 4194304 TCP_NODELAY: 1 SO_KEEPALIVE: 0 --socketOptions readCommandResponse: replyLineQP: 220-Hello, Welcome to TAM File Server! replyLineQP: 220- replyLineQP: 220- replyLineQP: 220 TAM File Server Ready ready. --readCommandResponse initialStatus: 220 initialResponse: 220-Hello, Welcome to TAM File Server! 220- 220- 220 TAM File Server Ready ready. converting to secure connection... authTls: simpleCommand: sendCommand: sendingCommand: AUTH TLS --sendCommand readCommandResponse: replyLineQP: 234 SSLv23/TLSv1 --readCommandResponse --simpleCommand simpleCommand: sendCommand: sendingCommand: PBSZ 0 --sendCommand readCommandResponse: replyLineQP: 200 PBSZ=3D0 --readCommandResponse --simpleCommand simpleCommand: sendCommand: sendingCommand: PROT P --sendCommand readCommandResponse: replyLineQP: 200 Command PROT okay. --readCommandResponse --simpleCommand --authTls successfully converted to secure connection... --ftpConnect Logging in... Login: sendCommand: sendingCommand: USER INT --sendCommand readCommandResponse: replyLineQP: 331 Password required for INT. --readCommandResponse sendCommand: sendingCommand: PASS * --sendCommand readCommandResponse: replyLineQP: 230 virtual user INT logged in from 10.85.28.198/10.85.28.198:1844. --readCommandResponse FTP authentication successful. setTransferMode: simpleCommand: sendCommand: sendingCommand: TYPE I --sendCommand readCommandResponse: replyLineQP: 200 Type set to I. --readCommandResponse --simpleCommand --setTransferMode --Login Login successful. syst: simpleCommand: sendCommand: sendingCommand: SYST --sendCommand readCommandResponse: replyLineQP: 215 UNIX Type: LINUX --readCommandResponse --simpleCommand --syst Syst: UNIX Type: LINUX simpleCommand: sendCommand: sendingCommand: FEAT --sendCommand readCommandResponse: replyLineQP: 211-Extensions supported replyLineQP: AUTH replyLineQP: USER replyLineQP: PASS replyLineQP: QUIT replyLineQP: PORT replyLineQP: PASV replyLineQP: EPSV replyLineQP: EPRT replyLineQP: TYPE replyLineQP: STRU replyLineQP: MODE replyLineQP: RETR replyLineQP: STOR replyLineQP: ABOR replyLineQP: DELE replyLineQP: CWD replyLineQP: XCWD replyLineQP: LIST replyLineQP: NLST replyLineQP: SITE replyLineQP: SYST replyLineQP: STAT replyLineQP: HELP replyLineQP: NOOP replyLineQP: MKD replyLineQP: XMKD replyLineQP: RMD replyLineQP: XRMD replyLineQP: PWD replyLineQP: XPWD replyLineQP: CDUP replyLineQP: XCUP replyLineQP: SIZE replyLineQP: MDTM replyLineQP: RNFR replyLineQP: RNTO replyLineQP: REST replyLineQP: FEAT replyLineQP: ADAT replyLineQP: PROT replyLineQP: PBSZ replyLineQP: APPE replyLineQP: XCRC replyLineQP: CCC replyLineQP: COMB replyLineQP: UTF8 replyLineQP: 211 END --readCommandResponse --simpleCommand Sending OPTS UTF8 ON simpleCommand: sendCommand: sendingCommand: OPTS UTF8 ON --sendCommand readCommandResponse: replyLineQP: 500 'OPTS UTF8 ON': command not understood. --readCommandResponse --simpleCommand Success. --Connect_Ftp2 --ChilkatLog

ChilkatLog: MPutFiles: DllDate: Oct 29 2015 ChilkatVersion: 9.5.0.54 UnlockPrefix: Anything for 30-day trial Username: ASPIRE-PC:ACER Architecture: Little Endian; 64-bit Language: ActiveX / x64 VerboseLogging: 0 ProgressMonitoring: enabled: yes heartbeatMs: 0 sendBufferSize: 65536 --ProgressMonitoring fileCount: 5 totalByteCount: 277552 filename: E:INTERFACE TAM REPORT20151130INT_PARTSTOCK_20151130.txt uploadFromLocalFile: uploadFromDataSource: Timeout waiting to accept the active-mode FTP data connection. Failed to accept data connection. Failed to complete data connection. --uploadFromDataSource Failed. --uploadFromLocalFile elapsedTimeInSeconds: 60 Not all files transferred --MPutFiles --ChilkatLog


Accepted Answer

Timeout waiting to accept the active-mode FTP data connection

Could it be that you need to enable Passive mode for this connection? see http://www.chilkatsoft.com/refdoc/vcCkFtp2Doc.html#prop62