November 14th, 2012, 10:48 PM
-
FTP from the Command Line
I am accessing my files simply by typing in ftp localhost from the command line. I login with my username and password. I can download files by using the "Get" command with no problems.
When I use the "Put" command to upload a file, it appears to upload (in other words, no error messages) but the file does not appear in my folder on the server. Where does the original file need to be in order for FTP recognize it from the command line. I doesn't seem as if you direct the path of the file you want to upload. Can anyone direct me here?
November 14th, 2012, 11:44 PM
-
"ftp localhost"? You're uploading files from your computer back to your computer? Okay...
Are you sure the file isn't there? Do a DIR and make sure the file did get uploaded. I bet you it did, and when you look for the file you're looking in the wrong place. PWD will tell you what directory you're putting the files in - compare that to the directory where you're looking for them.
November 14th, 2012, 11:48 PM
-
Ftp
Yes, I have looked it is not there. I am just doing this for training purposes to show how to use ftp from the command line. It defiantly is not uploading. When I use the Put command....
Put upload.txt then the next wording that appears is upload.txt F:
Can anyone tell me what this means?
Originally Posted by requinix
"ftp localhost"? You're uploading files from your computer back to your computer? Okay...
Are you sure the file isn't there? Do a DIR and make sure the file did get uploaded. I bet you it did, and when you look for the file you're looking in the wrong place. PWD will tell you what directory you're putting the files in - compare that to the directory where you're looking for them.
November 15th, 2012, 02:35 AM
-
Copy/paste what the prompt says (right-click, Mark, select text, and hit Enter to copy) or screenshot it. I'm not sure what the "upload.txt F:" is supposed to be.
If the file actually isn't uploading then you're probably running into permissions issues. Like you've hinted at in your other thread.
November 15th, 2012, 09:05 AM
-
Screen shots
ftp> Put uploadme.txt
uploadme.txt: F
ftp>
I have put the file on the desktop and at the root of C.
November 15th, 2012, 12:35 PM
-
That's not normal output for put. It should say stuff about 200 PORT and opening ports for transfer and some statistics when it's done. If you're not getting that then there's some other problem.
Are you trying this before or after you fixed the permissions?
November 15th, 2012, 02:31 PM
-
After I fixed the permissions. I have no problem logging in now. I even changed the folder and did not restrict anyone from using it.
Originally Posted by requinix
That's not normal output for put. It should say stuff about 200 PORT and opening ports for transfer and some statistics when it's done. If you're not getting that then there's some other problem.
Are you trying this before or after you fixed the permissions?
November 15th, 2012, 10:06 PM
-
Still the same issue
Can anyone enlighten me on this issue. When using the Put command, I cannot upload a document.