please dont rip this site

Clients

William Kitchen says:

The command line ftp utility that comes with WIN95 and above is scriptable. You invoke it from the command line like this:
ftp -s:myscript.txt

The script file is just a list of what you would normally have typed manually. Here's an example of how someone might synchronize Netscape bookmarks between work and home.

open myofficemachine.somedomain.com
myusername
mypassword
cd c:\progra~1\netscape\users\me
lcd "c:\progra~1\netscape\users\me
get bookmark.htm
bye

If you want to make the process even easier, you can create a batch file something like the following and call it something like "getbookmarks.bat". This batch passes itself to the ftp program as an argument (the first line is the clever part, notice the %0), so that everything is self contained. The batch interpreter skips the ftp script, and the ftp program generates a couple of harmless error messages, but otherwise safely ignores the lines that aren't part of the ftp script. The batch looks something like this:

ftp -s:%0.bat
goto done
open myofficemachine.somedomain.com
myusername
mypassword
cd c:\progra~1\netscape\users\me
lcd "c:\progra~1\netscape\users\me
get bookmark.htm
bye
:done

ftp@ servers@

see also:


file: /Techref/app/inet/ftps.htm, 2KB, , updated: 2004/3/15 12:59, local time: 2024/11/21 14:23,
TOP NEW HELP FIND: 
18.222.163.231:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/app/inet/ftps.htm"> Internet - File Transfer Protocol</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .