Windows 2000: Need a quick ftp script please!
Posted on 2002-06-14
I have a Dell Pentium III laptop running Windows 2000. It comes with a DOS version of FTP, plus I have Hummingbird Connectivity V18.104.22.168.0.
I want to write, or have someone tell me, a script for a simple ftp script:
1. Login to a particular server, with a certain username and password.
2. Upload files from my C drive to the network.
3. Close the connection.
I don't mind how it is written: DOS or Hummingbird. However, there are just two conditions:
1. Files transferred are in a directory which I would like to specify as the script is being run. i.e., the directory name cannot be hard-coded.
2. The destination directory matches the source directory name. e.g., transfer from C:\mydirectory to <unix home directory>/mydirectory.
Many thanks in advance for your help.
P.S. Yes I know there is a script assistant called Hummingbird Basic but it doesn't seem to be working well because I don't have Visio installed (?).