Link to home
Start Free TrialLog in
Avatar of gogimathew
gogimathewFlag for Bahrain

asked on

script file

how to create a script file for a user to connect to an ftp site, so that when the user clicks on the .bat file the ftp site should open.
I tried creating like below, doesn't work;

cmd
open ftp XX.XX.XX.XX
UserName
Password

Would like to learn more about creating script in windows
Avatar of Bill Prew
Bill Prew

What will they do once they get to the FTP site?  Do you want them to be able to browse for files and transfer them or something?  If so then you need a GUI FTP client like WS-FTP or the like installed.  The basic FTP.EXE program in Windows is more of a command line tool.

Tell us more about what you are trying to accomplish and how you want it to work and we will be able to make better suggestions.

~bp
ASKER CERTIFIED SOLUTION
Avatar of zasupport
zasupport
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I would agree with Bill there, or use zasupport method of shortcut to use the browser to do the work.

If you do want to do it using ftp.exe these are the normal methods:

http://scripts.dragon-it.co.uk/links/batch-ftp-scripting

Steve
Avatar of gogimathew

ASKER

should be able to transfer the files
I would suggest someone asking advice would be better off giving some information as to what they want then they have a chance of getting an answer that they would want.