[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
ftp query...
Hi Sriram,
Try something like this:
ftp -n host.domain <<END
verbose
user <userID> <Password>
bin
cd <directory>
get <files>
cd <other directory>
lcd <ocal directory>
put <files>
END
Replace the items in <angle brackets> with your values.
Regards,
-- Raju
>>>>> "sriram" == sriram prasad <sriram.prasad@xxxxxxxxxxx> writes:
sriram> Hi members.... this is a bit off topic but am sure some
sriram> wiz out here can help. I need to write a script (bat / cmd
sriram> file) that will ftp a server and log in using a valid
sriram> account name and password. then it'll transfer / upload a
sriram> file (simple put) onto the server. I am not very sure as
sriram> to how to write the script for account validation. There
sriram> is a valid account created on the server so the script
sriram> just has to pass on these values to the server. any
sriram> pointers / suggestions are welcome..... -- Cheers...
sriram> sriram.
--
Raju Mathur raju@xxxxxxxxxxxxx http://kandalaya.org/