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
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
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
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...
Summary: Hi, I need a script on how to get disk usage of files that was added into a dir from Jan 1, 2004, and disk usage per month. Can someone help please.....! camin ...
Summary: Hi Srinath, create a file .netrc in the user's (root ?) homedir: ########### machine remote_machine login userid password passw macdef init put ( or get ) filename quit ######################## please...