Computing.Net > Forums > Unix > FTP command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

FTP command

Reply to Message Icon

Name: aka
Date: March 10, 2008 at 17:59:38 Pacific
OS: AIX
CPU/Ram: 1gb
Product: Custom
Comment:

Hi all, hope you’re doing well.

Ok, I have this little issue about ftp over Solaris

Statement: we have two boxes, one called B1 and another called B2, lets say Im using B1 as local machine and Im ftp’ing to B2, if I want to move to a directory in B2 I can use ‘cd’ command and for listing directory I can use ‘lcd’, all this on B2 machine.

Do you know what command to use to list the directory on my local machine (B1) and see what files/folders are in there ?

I appreciate any help you can provide me.

Thanks.

Don´t freak out until you know the facts...Relax...!



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: March 10, 2008 at 20:02:11 Pacific
Reply:

!ls -l
?

0

Response Number 2
Name: wollie
Date: March 11, 2008 at 02:56:43 Pacific
Reply:

hi,

!<command> applies to the local machine - ok.
But lpwd / lcd apply to the local machine as well, so in AKAs case the lcd should apply to machine B1 and not B2.

wollie


0

Response Number 3
Name: aka
Date: March 11, 2008 at 05:54:44 Pacific
Reply:

The 'lcd' command operates to the B1 box also, but it doesnt show the content of the current path like 'ls-l' would do, it shows you the path on which you are on the local machine as 'pwd' would do.

What I need is to see the content on the B1 (local machine) as in 'ls -l'.

Don´t freak out until you know the facts...Relax...!


0

Response Number 4
Name: aka
Date: March 11, 2008 at 06:06:31 Pacific
Reply:

b/w Razor, 'ls -l' shows the content for B2, not B1.

Don´t freak out until you know the facts...Relax...!


0

Response Number 5
Name: Razor2.3
Date: March 11, 2008 at 06:30:15 Pacific
Reply:

Yes, ls -l would show the contents of the remote server.

But I didn't say ls -l, did I? I said !ls -l.


0

Related Posts

See More



Response Number 6
Name: aka
Date: March 11, 2008 at 08:40:53 Pacific
Reply:

THANK YOU very much Razor.

That is what I was looking for.

Don´t freak out until you know the facts...Relax...!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: FTP command

ftp/get command usage www.computing.net/answers/unix/ftpget-command-usage/6071.html

invoke bat file from FTP Urgent! www.computing.net/answers/unix/invoke-bat-file-from-ftp-urgent/7088.html

ftp - loses connection www.computing.net/answers/unix/ftp-loses-connection/6013.html