Hi,

It was on the list before, but there was no solution/workaround offered.

So, I tried to do a very simple FTP-file-download the following way:

$vtxt1:=$remotePath+$filename           
$vtxt2:=$localPath+$filename
case of
: (FTP_Login ($ftpHost;$ftpUser;$ftpPassword;$FtpID;$WelcomeText)#0)

: (FTP_Receive ($FtpID;$vtxt1;$vtxt2;0)#0)
TRACE

: (FTP_Logout ($FtpID)#0)
Else 

End case 

At "FTP_Receive ($FtpID;$vtxt1;$vtxt2;0)” an error -54 “Connection reset by 
peer” is thrown at me.

I can use "FTP_Delete ($FtpID;$RemotePath)straight after and it will work, 
meaning the file will be deleted at the remote directory.


Any useful explanation for that one?


I use the cURL-PlugIn as workaround (Thanks Keisuke), but would appreciate a 
working 4D IC.


Regards
Jörg Knebel, M.Eng. - 4D Developer since 1991
TTT Data Systems Pty Ltd
Phone: +61 (0)2 6601 7453
www.tttdatasystems.com.au <http://www.tttdatasystems.com.au/>
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to