0 votes
by (120 points)
edited

i can connect and download multiple file put when i try to upload it get "Invalid number of arguments (501)."

client.PutFiles("d:\tahacash*", "/tahacash.awardspace.biz/", FtpBatchTransferOptions.Default, FtpActionOnExistingFiles.OverwriteDifferentSize)

anyone knows why ?

Applies to: Rebex FTP/SSL
by (148k points)
This looks like one of the FTP commands used by the PutFiles method was not supported by the FTP server with the number of arguments we passed to it. Please use the Ftp object's LogWriter property to create a communication log (as described at http://www.rebex.net/kb/logging.aspx) and either edit your question to include it (the part showing the "501" error and several lines before it should be suffucient) or mail it to support@rebex.net - we should then be able to tell what is going on, and hopefully how to solve it as well.

1 Answer

0 votes
by (148k points)

Is there any news on this? Have you been able to solve this or produce the communication log?

...