Ok, i must be misunderstanding something. Here is what i got so far:
Code:
$ ftp
ftp> open myhost
Connected to myhost.
220 csa FTP server ready.
Name (myhost:name): name
331 Password required for name.
Password:
230 User name logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
TestDir
public_html
226 Transfer complete.
22 bytes received in 0.016 seconds (1.32 Kbytes/s)
ftp> cd TestDir
250 CWD command successful.
ftp> ascii
200 Type set to A.
ftp>
So, i'm not sure what i type in next. The path of the file on my computer's desktop is:
C:\Documents and Settings\User\Desktop\Test.cpp
And i want to put the file "Test" from my desktop into the unix directory "TestDir".
I tried this, but it didn't work.
Code:
ftp> put Test.cpp
Test.cpp: No such file or directory
I also tried
Code:
ftp> lcd C:\Documents and Settings\User\Desktop\
usage: lcd local-directory
and did the put command again, but it still didn't work. I'm not sure what i'm doing wrong.
Am I correct by saying the LOCAL machine is my computer, and the REMOTE machine is the unix machine?