Solved Uploading HTML files onto a host's servers

December 29, 2012 at 18:57:52
Specs: Windows 7
I have HTML files created around eight years ago on a disc that I want to edit and then upload onto my host's servers -- What would be the best way to go about doing this?

Thanks in advance!

See More: Uploading HTML files onto a hosts servers

December 29, 2012 at 21:19:35
✔ Best Answer
I always just use FTP.exe to transfer files: FTP then, OPEN hostname, then prompted for username, enter user, prompted for pass, enter pass. Type ? to see list of commands, type: command ? to see more details on the command. I put all the initial stuff into a batchscript, so I just type "login" and go from there.

Report •

December 30, 2012 at 10:35:00
Hmmm . . . Well, I open my ftp.exe file on my computer and get a window with a command prompt . . . How do proceed from there? I have a suspicion that you had something else in mind -- do you know any good ftp editing software that I can download from by any chance?

Report •

December 30, 2012 at 20:27:47
I apologize, I must have jumped a gear, or slipped a cog. FTP is a utility that interprets a set of specific commands for ftp management: file listing, transfer, local and remote directory-changes, etc. If you type "?" at the FTP prompt (FTP>), you can see all the available commands displayed. For a (very brief) description of any given command, f/e: "get", type "? get".
I have always edited my html and associated files locally. If you need to modify an existing page from the web, just "GET" the file, edit (using notepad or EDIT), then "PUT" the file back in place. (VERY important, unix IS case sensitive. ME.txt will not be recognized if you type me.TXT for any operation.)
FTP -? will regale you with command-line options, and one of the best is -s (script), which allows for scripted (non-interactive) operation, such as I use for my "login" script( login.bat):

ftp -n -s login.bat
goto :eof
user abc
cd subpage
::==== end batchscript
(I merged the batch and the ftp scripts to reduce garbage. The batchscript is also the ftp script, since errors are ignored.) The item after "user" is the password. Everything after that depends on what you want to do. When the ftp script runs out, it reverts to interactive, so always put a "quit" command if you want it fully automated.
I am not aware of "ftp editing software", but that's just me. There are html-specific editors, such as "frontpage", "dreamweaver" etc, for page-design. Once again, imo, always edit locally: download, fix, upload. There's no need to directly edit the server-content (which I've done, using unix' VI on Telnet, which you DON'T want to do if you're sane.)
sorry for long message. hope this helps

Report •
Related Solutions

Ask Question