I want to make a batch file that will connect to an ftp server,
and will give username & password and will cd to required folder...
then it will get filename...or send files.....
(can i make a .bat file for this work... ?)
i really want to make batch fore this work...my ftp account:Host : " ftp.server.com "port :" 21 "username : " yehya "password : " eid "...........................................................................................
Ftp scripting is not that hard at all, can be done with simple ftp script using windows buildin ftp client
example of ftp script file:
lcd c:\your\local\dir\over\here
open ftp.server.com
yehya
eid
cd YourRemoteDir
prompt
binary
get DownloadFileName
bye
You can use put for sending[replace with get].
or mput\mget for file names with masks like mget *.php
name the the file and run it with windows ftp client
ftp -s:Script.Here.txt