If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > download routine

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-03, 14:22
pons pons is offline
Registered User
 
Join Date: Dec 2002
Posts: 16
download routine

I want to place a shell script on my unix box intranet web page to delete old file c:\Dir\deleted.txt at my remote clients and replace it with a new one c:\Dir\replaced.txt, the remote users are using Win2k clients
the script should call a cmd command prompt and do this download routine

should go to the right directory in Win2k boxes cd c:\Dir\
ftp x.x.x.x
user: username
passwd: password
should move to right location in unix box cd /home/
ascii
replace file with anew one get file

-Pons
pons@gmx.li
Reply With Quote
  #2 (permalink)  
Old 03-31-03, 05:14
qha_vn qha_vn is offline
Registered User
 
Join Date: Jan 2003
Location: Vietnam
Posts: 188
Re: download routine

Go to: http://pcunix.com/SCOFAQ/scotec6.html#autoftp

and then find "How can I automate an ftp transfer"

its all there i tried successfully

get back to me you can do.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On