C
Char Jackson
Two additional (and completely optional) commands I sometimes use areYou guys crack me upAlex said:That would be me alright, great unwashed. I had zero idea of how to do
what he was suggesting and doubt I would even try. I would be scared
that I would make a bad situation worse. This is why a couple times when
I had something FUBAR'd on a machine I would just use the restore to put
it back to factory. I know it is most likely every time I have done this
that there would have been a less drastic "fix", but I know this works.
When people start talking geek to me and telling me how simple it is all
I can think is no way. It was like that when Vista came out and my first
experience with it left such a bad taste in my mouth. I did not know at
the time that the problem was the machine I was setting up, not the OS.
So I tried Linux on an old desktop. Figured if it worked I was going to
try it on my laptop. I was assured it was so easy so I got a CD. It did
seem to work fine running it off the CD but slow. So I tried to install
it as a dual boot using a Partitioning software. I was told it was a
snap. I am sure it is for many. I made such a mess I had to use the
recovery discs on the machine. It would no longer even boot. Thankfully
I was talked into trying another Vista machine with the power needed to
run it. I was just about to order a laptop that had Linux factory
installed.
I think it all depends on how badly you wanted something, as to
what effort you'd put into it.
I have posted an entire FTP transaction, to help someone get
something they were looking for. It isn't that big a deal to
copy and paste an entire session from a cmd window. All a person
would have to do, is ask.
******* started an MSDOS (cmd) window, to do some FTP *******
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\MyUserName> cd \ <--- change directory command, to pick
a place to store the FTP file
to be transferred.
C:\>cd Downloads <--- Saved file ends up in C:\Downloads
C:\Downloads> ftp ftp.mozilla.org <--- launching the ftp interactive session
Connected to ftp.zlb-ftp.sj.mozilla.com.
220-
220- ftp.mozilla.org / archive.mozilla.org - files are in /pub/mozilla.org
220-
220- Notice: This server is the only place to obtain nightly builds and needs to
220- remain available to developers and testers. High bandwidth servers that
220- contain the public release files are available at ftp://releases.mozilla.org/
220- If you need to link to a public release, please link to the release server,
220- not here. Thanks!
220-
220- Attempts to download high traffic release files from this server will get a
220- "550 Permission denied." response.
220
User (ftp.zlb-ftp.sj.mozilla.comnone)): anonymous <--- enter account name.
"Anonymous" works if server
supports anonymous FTP,
common on public servers.
331 Please specify the password.
Password: (e-mail address removed) <--- It used to be polite to leave your real
email address, but the server won't necessarily
be checking this thoroughly. On at least one
public server, they really do check this and
go the extra mile, just to be annoying... YMMV
230-
230- ftp.mozilla.org / archive.mozilla.org - files are
230- in /pub/mozilla.org
230-
230- Notice: This server is the only place to obtain
230- nightly builds and needs to remain available to
230- developers and testers. High bandwidth servers that
230- contain the public release files are available at
230- ftp://releases.mozilla.org/
230-
230- If you need to link to a public release, please link
230- to the release server, not here. Thanks!
230-
230- Attempts to download high traffic release files from
230- this server will get a "550 Permission denied." response.
230-
230 Login successful.
ftp> cd /pub/mozilla.org/firefox/releases/3.6.16/win32/en-US <--- You can also do this
cd /pub
cd mozilla.org
cd firefox
cd releases
cd 3.6.16
cd win32
cd en-US
if you want, but I know
where I'm going. Call it
cheating.
250 Directory successfully changed.
ftp> dir <--- Use this to list the remote
directory. Two files found.
We want the .exe one.
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 ftp ftp 8579448 Mar 19 16:27 Firefox Setup 3.6.16.exe
-rw-r--r-- 1 ftp ftp 194 Mar 19 17:32 Firefox Setup 3.6.16.exe.asc
226 Directory send OK.
ftp: 168 bytes received in 0.00Seconds 168000.00Kbytes/sec.
ftp> binary <---- binary mode, when transferring
most non-text stuff (ZIP, exe, jpeg...)
200 Switching to Binary mode.
ftp> get "Firefox Setup 3.6.16.exe" <--- use double quotes,
if a path has spaces in it.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for Firefox Setup 3.6.16.exe (8579448 by
tes).
226 File send OK.
ftp: 8579448 bytes received in 29.58 Seconds 290.06 Kbytes/sec. <--- be patient,
watch your modem
light flashing.
ftp> quit
221 Goodbye. <--- interactive session ends, back to good ole MSDOS commands...
C:\Downloads> dir Firefox* <---- checking the file arrived OK
Volume in drive C is WINXP
Directory of C:\Downloads
04/24/2011 10:53 PM 8,579,448 Firefox Setup 3.6.16.exe <--- Yup
C:\Downloads> exit <--- poof. Command window disappears before your very eyes.
*******
'stat' and 'hash'. Stat prints a short status message, reminding me
which FTP server I'm connected to and whether I'm in ascii or binary
transfer mode, and hash prints a series of # characters during actual
file transfers to indicate the progress of the transfer.