|
|||||||
|
|
![]() |
|
|
|
|
||
|
Running Client Commands under FTP Hey, Ted: FTP's cd command changes the working directory on the server machine. The lcd command changes the working directory on the client machine. The ls and dir commands show the contents of the working directory on the server machine. But there are no lls and ldir commands to show what's in the working directory of the client machine. Do you know of an alternative? --Bobby There is an alternative, but the exact command to use depends on which operating system is running the FTP client. If you're using any of the widely used operating systems that are named after devices that allow you to see through walls, try this: !dir The exclamation point, which computer wienies pronounce as "bang," tells the FTP client to run the dir command on the client machine. On the other hand, let's say that you're running the FTP client on an iSeries. The command "dir" means nothing to OS/400, so you must use a CL command instead. Here are some commands that might serve your purpose if you're working in the 0 name format. ! wrkobj *curlib/*all ! dsplib *curlib If you're using name format 1, you might use this command instead. ! wrklnk /home/jsmith However, I prefer to press the F21 key to get a command line window. Let me add a few notes for your information.
lcd c:/temp
!dir /o:d c:\projects\p*.* >c:\temp\mydir.txt
--Ted
|
Editors
Contact the Editors |
| Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved. |