Computing.Net > Forums > Unix > ftp/get command usage

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/get command usage

Reply to Message Icon

Name: Liliya
Date: March 15, 2004 at 13:35:21 Pacific
OS: XP home
CPU/Ram: 220
Comment:

Hello,
I'm trying to move my .cpp files from a remote unix box onto my XP desktop. I'm using the ftp command to log in, then I'm using the get command to copy my .cpp files. The commands get successfully executed, but I can find the files that are copied. Here is what I do:
get filename.cpp folderNameOnMyCdrive

Could anybody tell me how to do this right?



Sponsored Link
Ads by Google

Response Number 1
Name: aigles
Date: March 15, 2004 at 13:50:13 Pacific
Reply:

Try the syntax :

get filename.cpp folderNameOnMyCdrive/filename.cpp

Jean-Pierre.


0

Response Number 2
Name: aigles
Date: March 15, 2004 at 13:58:04 Pacific
Reply:

a better solution :

ftp> lcd folderNameOnMyCdrive
ftp> get filename.cpp

Jean-Pierre.


0

Response Number 3
Name: Liliya
Date: March 15, 2004 at 14:04:04 Pacific
Reply:

I just tried using folderNameOnMyCdrive/filename.cpp
instead of folderNameOnMyCdrive.
The responce I get is " Not a directory".


0

Response Number 4
Name: Liliya
Date: March 15, 2004 at 14:09:03 Pacific
Reply:

When I try
lcd folderNameOnMyCdrive
I get the same responce "Not a directory"...


0

Response Number 5
Name: Liliya
Date: March 15, 2004 at 14:21:17 Pacific
Reply:

It looks like I'm not connected to my local XP box because the files are copied into my unix/home directory... ?


0

Related Posts

See More



Response Number 6
Name: vicchai
Date: March 15, 2004 at 20:22:28 Pacific
Reply:

Try this:
1. At your XP box, go to the directory you want the file to keep.
2. Then ftp to the unix box.
3. Get the file you want like this >> get filename.ccp <<.
4. When finish, disconnect and back to your XP box, you can find your filename.ccp in the directory you want to keep it.


0

Response Number 7
Name: Dlonra
Date: March 17, 2004 at 09:46:50 Pacific
Reply:

windoze does not have the right slant on file paths.
e.g., unix p/b/c/d =~ windoze c:\p\b\c\d. Perhaps ftp follows unix convention. If you are still having problems,
cd folderNameOnMyCdrive
ftp ....
get file.cpp
or
mget *.cpp


0

Response Number 8
Name: Liliya
Date: March 18, 2004 at 14:17:19 Pacific
Reply:

Thanks everyone for the suggestions. I wanted to transfer one very large folder, so I ended up downloading and using WS-FTP utility...


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/get command usage

Script to get disk usage per month. www.computing.net/answers/unix/script-to-get-disk-usage-per-month/6216.html

In script - how do I response to ftp err www.computing.net/answers/unix/in-script-how-do-i-response-to-ftp-err/2365.html

automating ftp process www.computing.net/answers/unix/automating-ftp-process/2386.html