Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
FTP push from UNIX to NT
Name: srini Date: June 16, 2003 at 17:55:52 Pacific OS: HP-UNIX CPU/Ram: P3/1G
Comment:
Hi Can some body share a code with me. I am trying to call a Kshell script file from one of my SQR programs. I am new to Shell scripting. My Shell script is going to run on UNIX box and I have to do FTP on Unix which should transfer files from another NT box and copy that to Unix.i.e. UNIX is trying to Pull files from NT box and ofcourse I have to push files to NT from Unix also.Can somebody help me with the actual code to do that.
Thanks in Advance... Srini srini@riteclik.com 408 390 2499
Name: Fukare Date: June 17, 2003 at 07:36:34 Pacific
Reply:
Srini, one way to do this will be to have a BAT file on your NT and the bat file would just call an ftp script which sits on your NT. example: the bat file would look like
ftp -i -s:c:\sample.sct
and in your sample.sct script you would put all the uid, password, directory where you want your files to go and the server name like
open servername userid password cd /the/directory/where/you/want/your/files/togo/ binary mput c:\whereyourfilesare\*.*
Summary: What I am trying to do is -- to move a file from Unix to NT. I guess I need to have script which will allow me to do that when ever I execute that program. I am not a Unix person -- so I really don't ...
Summary: Good morning I need to transfer files from Unix to another server Windows NT. Our instructions on script are : ftp -v -n user quit That script execute ok from Unix to Unix, but not from Unix to W...
Summary: Does anyone know how to delete or stop altogether an additional line being added to a file that is being ftp'd from a UNIX box to a NT box? What is happening is I'm ftp'ing a file from UNIX to an NT ...