Problem in FTPing With Linux

Rubicone

Senior member
Jan 11, 2001
520
0
0
I thought I knew this but apparently not. I can ftp from my Windows and Linux machine to a Linux server. The problem is in uploading files. I know how to do it from Windows but not having any success from my Linux machine. When uploading from Windows I use the following command syntax.

ftp>put C:\WINDOWS\Desktop\testfile

and everything goes alright.However, when attempting the same thing from Linux I get the error message "Could not determine cwdir:No such file or directory." The command syntax I am using is as follows:
ftp>put /home/Rubicone/FTPTest/testfile

I have tried several variations including:

ftp>put /home/Rubicone/FTPTest/testfile.*

ftp>put /home/Rubicone/FTPTest/*.*

I would appreciate any help one has to offer in overcoming what may be the obvious to some but not to me. TIA.








 

BCYL

Diamond Member
Jun 7, 2000
7,803
0
71
Try doing:
ftp>send /home/Rubicone/FTPTest/testfile

in FTP, you can type '?' and it will show you a list of valid commands...

Also make sure you have the correct permissions for the file...