I made a screen shot of my operation as below on WinXP.As the remotehelp says,the size command should be implemented.But I got a invalid command .How can I fix this problem?

alt text

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

"Invalid command" means that the client doesn't support it. Since the server does, though, you should be able to do something like this:

quote size tags

and if all is well, you'll get a numeric code for the response (should be 213) followed by the filesize.

link|improve this answer
thanks a lot. – SpawnST Sep 1 '10 at 12:52
feedback

If SIZE doesn't work there is nothing you can do locally, it's a problem with the ftp server.

However,
tags is usually the name of a directory(*) and SIZE usually only works on files. So perhaps that's your problem.

(*) In subversion it is customary to organize your project in three top directories called branches, tags and trunk

link|improve this answer
Thanks for the quick help.I'm quite sure tags is file since I work on the linux machine of the FTP server.And just now I did this on linux,the message is 550 SIZE not allowed in ASCII mode.. – SpawnST Sep 1 '10 at 10:08
@SpawnST - Have you tried switching to binary mode? – Nifle Sep 1 '10 at 10:18
the switching fix problem on Linux,but on Windows the error still be there. – SpawnST Sep 1 '10 at 11:54
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.