Pooja,
I hope this simple FTP command will help you...
step 1:
copy below script to notepad and save in C drive as "deploy.txt" in your local computer..
and edit the script giving valid paths with login credentials...
username
password
cd "Remote FTP directory"
mput D:\SourceCode\*
bye
step 2:
copy below script to note pad and save it .bat extention on your local computer..
you need to add your IP address
ftp -i -s:c:\deploy.ftp IPAddress
Quote:
Originally Posted by pooja
hi leslie!
juat a thought.....is there a space on either side of equal to sign while assigning value to $1
like : the code u gave above contains space $1 = D
it shud be $1=D
--Pooja
|