ls command

Core FTP Server questions and answers
Post Reply
bgateley
Posts: 17
Joined: Fri Jan 26, 2007 1:28 pm

ls command

Post by bgateley »

Hi,

I have a client who regularly connects to our Core FTP server and is setting up a batch script to use on it as well as 30+ other FTP servers he connects to. He wants to use the ls command in his script, and says that it works fine on every other server but on ours it would not take any arguments (such as "ls /mydirectory").

Is there a way to add the ls command to our server or maybe map it to the LIST command or something or is he out of luck?

Thanks for any help anyone can provide!
Brian
bgateley
Posts: 17
Joined: Fri Jan 26, 2007 1:28 pm

Post by bgateley »

Thanks! I passed that on to my client along with a printout of our log, hopefully that'll help him out. You mention that it should be easy to map "ls", can you give me a pointer as to how I would do that, should it become necessary? (and just out of curiosity!)
bgateley
Posts: 17
Joined: Fri Jan 26, 2007 1:28 pm

Post by bgateley »

Okay, we're narrowing down the problem. We've determined that he is using the NLST command, along with an argument specifying the directory that he wants to list the files of. However, the server is returning a list of the files in the current working directory, rather than the directory he specifies. Any help?
Post Reply