Sometimes you might end up with a machine where the ftp tools are not accessible. Here we can use the ftp.exe command line tool along with Windows Operating system.
Type ftp in the windows run command box.
It will be prompting for the user name and password.
Type your username and press enter. Wait for 2 seconds and you will be prompted for the password. Type the correct password and press enter. Wait for 2 seconds and if the password is valid you will be getting the message”User * logged in”.
Note: The password typed won’t be displayed on the screen.
If you can see the above message Congratulations!!! You have successfully logged in.
Now we can move to the next step
Type the command dir in the above screen. Wait for 2 seconds. You will be listed with the directories and files in the root folder.
Create a new directory named “fxlogics”. For creating a new directory use command
Copy files to the new directory.
First we have to change the directory to fxlogics. For this type the command
You can ensure you are in the correct directory by entering the dir command again.
Step 8: Upload File
Here you are uploading a file from the local computer to the ftp site’s current directory.
Use command put filepath
Alternatively you can type put and drag and drop the file from explorer to the command window. So the exact path will be shown correctly.
Eg: put c:readme.txt
Ensure the file is copied correctly by typing the dir command again.
If you can see the file in the command screen you have uploaded the file successfully.
Close the command window by typing the quit command.
|help||Shows the commands list||help|
|quit||Closes the ftp window||quit|
|dir||Displays the directory contents||dir|
|cd||Change directory||cd mydir|
|mkdir||Make Directory||mkdir newdirname|
|put||Uploads a file from the local file system.||put “c:program filesa.txt”|
|delete||Deletes the file from the directory||delete “the file name.exe”|
You can use the up and down arrow while in the command window, to traverse between the commands typed. It will save the time and effort to type the command again.
Hope you enjoyed the article