[FTPS] Cannot connect anymore with updated version (General questions)
Hello,
I bought the latest update of the component to be compliant with Windows Seven but I just noticed I now have a major problem with it.
I connect using FTPS on port 21. I had no problem uploading files to this server with version 2.6.3.268 but now with version 3.0.4.571 I had the 40552 error returned ( Requested file action aborted. Exceeded storage allocation (for current directory or dataset). ) after having called the putFile() function - connection has been opened without problem.
Please find below the ReplyText:
[code]220 220 [masked host name] X2 WS_FTP Server 5.0.0 (3396933792)
234 234 SSL enabled and waiting for negotiation
200 200 PBSZ=0
200 200 PRIVATE data channel protection level set
331 331 Password required
230 230 user logged in
211 211-Extensions supported
SIZE
MDTM
MLST size*;type*;perm*;create*;modify*;
LANG EN*
REST STREAM
TVFS
UTF8
AUTH SSL;TLS-P;
PBSZ
PROT C;P;
211 end
501 501 invalid option
257 257 /users/testutil is current directory
200 200 PBSZ=0
200 200 PRIVATE data channel protection level set
200 200 Type set to ASCII.
250 250 CWD successful
227 227 Entering Passive Mode (xxx,xxx,xxx,xxx,5,15).
150 150 Opening ASCII data connection for directory listing
226 226 transfer complete
200 200 Type set to IMAGE.
550 550 file does not exist
227 227 Entering Passive Mode (xxx,xxx,xxx,xxx,5,16).
350 350 setting restart marker to 0
552 552 transfer failed[/code]
Whereas the FTP server log shows the error on its side:
[code]0407 12:55:24 (00000061) xxx.xxx.xxx.xxx:3864 connected to xxx.xxx.xxx.xxx:21
0407 12:55:25 (00000061) SSL Negotiated cipher strength 128 cipher name DHE-RSA-AES128-SHA
0407 12:55:25 (00000061) [masked host name] S(0) xxx.xxx.xxx.xxx testutil logon success (A1)
0407 12:55:25 (00000061) xxx.xxx.xxx.xxx testutil:[masked host name] forced close listener socket
0407 12:55:25 (00000061) [masked host name] U(NoFile) xxx.xxx.xxx.xxx testutil ERR:SIZE 20100407115513Tst1AccPAT00004.zip(D:/iFtpSvc/ftp2/users/testutil/20100407115513Tst1AccPAT00004.zip)
0407 12:55:25 (00000061) xxx.xxx.xxx.xxx testutil:[masked host name] forced close listener socket
0407 12:55:25 (00000061) [masked host name] O(ERROR_ACCESS_DENIED) xxx.xxx.xxx.xxx testutil ERR:STOR users estutil (D:/iFtpSvc/ftp2/users/testutil)
0407 12:55:27 (00000061) xxx.xxx.xxx.xxx connection aborted
0407 12:55:27 (00000061) xxx.xxx.xxx.xxx connection closed[code]
(I masked the host name and IP addresses for security reasons)
I tried to use the old version of the DLL by unregistering the new one and registering again the old one, it worked perfectly.
Why the new dll version doesn't work anymore with the exact same code?
Re: [FTPS] Cannot connect anymore with updated ver
To add some details... I can upload small test file (1 Mb / test.tst name) but it stucks on the almost 33 Mb / huge file name - 20100407115513Tst1AccPAT00004.zip).
I guess we have a size limitation here, but I cannot find any limitation on server settings and that wouldn't explain why this worked with previous version of the component.
Re: [FTPS] Cannot connect anymore with updated ver
Hi Ben,
I manage to transfer 40MB file to your server without any problem.
Here is code I use:
[code]dlx1.HostName = hostname
dlx1.Login = login
dlx1.Password = password
dlx1.Protocol = FTPSwithdata
dlx1.Blocking = True
dlx1.StrictHost = True
dlx1.Connect
dlx1.PutFile c:\test4.rar , /users/path/test4.tst [/code]
Can you try something like that and let us know how it goes?
Regards,
Drazen
Re: [FTPS] Cannot connect anymore with updated ver
Hi Ben,
I manage to transfer 40MB file to your server without any problem.Here is code I use:
[code]dlx1.HostName = hostname
dlx1.Login = login
dlx1.Password = password
dlx1.Protocol = FTPSwithdata
dlx1.Blocking = True
dlx1.StrictHost = True
dlx1.Connectdlx1.PutFile c:\test4.rar , /users/path/test4.tst [/code]
Can you try something like that and let us know how it goes?
Regards,
Drazen
Using this simple code works, but problem is my application uses blocking setting to false to handle Error management and reconnect if needed... Maybe something is wrong in my source code, but I don't see where (and I don't understand why it worked with previous version but not now).
Do you want me to send you extracts of the source code? If so, can I do this by e-mail?
Re: [FTPS] Cannot connect anymore with updated ver
Ben,
Yes, sure. You can send us the code to techsupport@weonlydo.com.
Can you please send us the FTPReply event dump, but without masking the IP responses?
Regards,
Damba