TScFTPClient - Server cannot accept argument.

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
tabu
Posts: 5
Joined: Fri 15 Jan 2021 14:02

TScFTPClient - Server cannot accept argument.

Post by tabu » Fri 18 Feb 2022 08:13

Connection and Disconnection to the server runs without problems, renaming of a file works, so I think, the connection is not the problem.

Upload or Download works not, leads to the error "Server cannot accept argument"

Code: Select all

ScFTPClient1.Upload('c:\temp\test.csv', 'hallo.txt');

ScFTPClient1.Dowload('hallo.txt', 'c:\temp\hallo.txt');
File to download is on the server, File to upload is in the directory. Up- and Download with FileZilly without problems.

Any ideas?

YanishevskiyVI
Devart Team
Posts: 70
Joined: Wed 02 Jun 2021 09:30

Re: TScFTPClient - Server cannot accept argument.

Post by YanishevskiyVI » Fri 18 Feb 2022 14:51

Hi there,
This error states that the server cannot work in active mode.
To solve the issue, please set TScFTPClient.UsePassive := True

Feel free to ask in case of any further questions!

tabu
Posts: 5
Joined: Fri 15 Jan 2021 14:02

Re: TScFTPClient - Server cannot accept argument.

Post by tabu » Mon 21 Feb 2022 17:35

Thank you

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: TScFTPClient - Server cannot accept argument.

Post by Dimon » Tue 22 Mar 2022 09:28

Feel free to contact us if you have any further questions.

Post Reply