FTP at the "command" prompt
jonesan
Enthusiast - Level 3

Recently the following advice regarding uploading pictures, was given by mattheww 50 in this forum.  However, when I click on RUN and then type COMMAND, I get a message that Windows can not find it. I am using windows 7.  Am I doing something wrong?

This is usually done used FTP (which is a DOS command, although you can configure Internet Explorer to do it for you).

FTP is on most systems already, go to the start menu and run 'command' which will bring up a DOS window.

Once in the DOS window CD to the directory with the images,

then type FTP at the command prompt

0 Likes
1 Solution

Correct answers
Re: FTP at the "command" prompt
jmw1950
Specialist - Level 2

DOS doesn't understand anything that isn't text. So cutting and pasting an image isn't going to work. In fact cutting and pasting doesn't really work at all in a DOS windows.

The image needs to be saved to a file.

You then upload the file via FTP

The dialog should look something like this:

C:>FTP

ftp>OPEN XXXXXXX.COM          <establish connection to the host>

ftp>                                                  <Userid and Password questions>

ftp> BINARY                                  <set transfer mode to binary, needed for image files, default is ASCII>

ftp>SEND FILENAME.JPG        <transmit the file>

                                                        <information on the transfer>

ftp>SEND NEXTFILE.JPG          <transmit the file>

.

.

.

ftp> CLOSE                                 <close connection to the host>

ftp>BYE                                        <close FTP>

C:>EXIT                                       <close DOS window>

You may want to Google FTP to get a more complete picture of how FTP works.

View solution in original post

Re: FTP at the "command" prompt
jmw1950
Specialist - Level 2

Microsoft seems to have this thing about needing to change things whether they need to be changed or not. It appears that under Windows 7 you cannot go directly to the command prompt from run. Microsoft suggests the following:

Open the Command Prompt window by clicking the Start button Picture of the Start button,

 select  All Programs>Accessories>Command Prompt and click on it.,

 

That should get you to the command prompt.

Re: FTP at the "command" prompt
jonesan
Enthusiast - Level 3

Yes, jmw1950,it sure worked to get me in the Command Prompt window. But how do I get from there into the DOS window. I would like to try out the advice as given in my earlier post. ( FTP is on most systems already, go to the start menu and run 'command' which will bring up a DOS window. Once in the DOS window CD to the directory with the images,

then type FTP at the command prompt)  Your cooperation is greatly appreciated.

0 Likes
Re: FTP at the "command" prompt
jmw1950
Specialist - Level 2

The command prompt IS the DOS window.

Re: FTP at the "command" prompt
jonesan
Enthusiast - Level 3

Thanks. After copy/paste and Enter an image in the DOS window, I got a message that it was not recognized as an internal or external command. Did I do something wrong?

0 Likes
Re: FTP at the "command" prompt
jmw1950
Specialist - Level 2

DOS doesn't understand anything that isn't text. So cutting and pasting an image isn't going to work. In fact cutting and pasting doesn't really work at all in a DOS windows.

The image needs to be saved to a file.

You then upload the file via FTP

The dialog should look something like this:

C:>FTP

ftp>OPEN XXXXXXX.COM          <establish connection to the host>

ftp>                                                  <Userid and Password questions>

ftp> BINARY                                  <set transfer mode to binary, needed for image files, default is ASCII>

ftp>SEND FILENAME.JPG        <transmit the file>

                                                        <information on the transfer>

ftp>SEND NEXTFILE.JPG          <transmit the file>

.

.

.

ftp> CLOSE                                 <close connection to the host>

ftp>BYE                                        <close FTP>

C:>EXIT                                       <close DOS window>

You may want to Google FTP to get a more complete picture of how FTP works.