OK, if you were able to set up an FTP location in Publisher, then you
must know your FTP login information. It also sounds like you know how
to navigate to the correct folder on the web server. So far, so good!
A command line version of FTP comes with Windows.
1. Open a command prompt.
2. Using cd, navigate to where your jpg is. For example, if your jpg
is in C:\MyWebsite\MyImages, type
cd C:\MyWebsite\MyImages
You should now have a command prompt that looks something like this:
C:\MyWebsite\MyImages>
3. Type
ftp www.yourwebsite.com
and press Enter.
4. You should get a prompt asking for your login name. Type it in and
press Enter. It should then ask for your password. Type it in and
press Enter.
5. If your login is successful, you will now have an FTP prompt that
looks like this:
ftp>
6. Type
pwd
and press Enter. The server will show the current directory. Use cd to
navigate to the directory where your jpg goes. Be aware that you may
need to use slashes instead of backslashes as directory separators,
depending on your web server OS.
7. Type
bin
and press Enter. This tells ftp to transfer the file using binary
mode. Binary mode basically tells ftp not to mess with your file, but
just to transfer it exactly as is.
8. Type
send yourpic.jpg
and press Enter. FTP will transfer your file.
9. When it's done, type
bye
and press Enter to get out of FTP.
That's it! It's actually really easy. Most of the instructions above
involve making sure you are in the correct directories. If this is
something you are going to do regularly, you might want to pick up one
of the graphical FTP programs that give you a Windows Explorer like
interface. There are a number of these, both free and commercial.
While using the command line FTP, if you get into trouble, just type
'bye' to get out and start over from Step 3.
As to what this is all about, FTP has two transfer modes: ascii and
binary. Ascii is for text files (like web pages). In this mode, ftp
will adjust things like line feeds and carriage returns to be
appropriate to the target operating system. Binary mode is for files
like graphics or compressed files. In binary mode, ftp does not adjust
anything. It just sends the file as is. Many ftp programs decide which
mode to use based on the file type. If in doubt, choose binary.
There are many explanations of this concepts on the internet. Here is one:
FTP FAQ by WT.NET
http://www.wt.net/ftpfaq.shtml
Please let me know if you need further clarification on this.
Search strategy: binary ascii ftp FAQ
- Hammer |