SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : INPR - Inprise to Borland (BORL)

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: TTOSBT who wrote (3369)11/3/1999 8:47:00 AM
From: Green Receipt  Read Replies (2) of 5102
 
Here you go:
If you follow the steps when you are done you will simply have to type at the dos prompt: putftp.bat

check the directories and be careful. It can be dangerous if you accidently delete the wrong file(s) on your website.

1) make a batch file (putftp.bat) insert the following line:

ftp -n -s:ftpbat.txt server12.hypermart.net > session.txt

Replace server12.hypermart.net with the server you wish to connect to.

2) make a text file (ftpbat.txt) to hold the commands:

user <insertusername> <insertpassword>
ascii
hash
prompt off
pwd
dir
lcd c:\drs\books\car
cd car
pwd
ascii
mput *.html
dir
cd ..
cd img
pwd
bin
mput *.jpg
dir
quit

3) Notes:
a) Replace user and password with the real thing

b) Output will go to a file called session.txt.

c) the Hash command, lets you verify your request hasn't timed out. It prints a # character for every 2048 (don't remember the exact number) bytes that are ftp'd.

d) 'Prompt off' turns interactive mode off

e) Remember to use 'bin' for binary files and
'text' for text files.

Hope this helps

David
I use batch files to mirror and update my duneram.com site

PS: thats one of my ghost cam sites. we actually saw a ghost on it, but you will have to go there to see what happened.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext