How to FTP Via the Command Line

May 3, 2011 04:01 AM

Wondering how to connect and upload files via FTP from the command line? This is a very simple tutorial, by request from a friend.



I hope you find it informative and helpful.

What you need to do:

All you need are 2 files as follows:



FTPcommand.dat:

open 127.0.0.1

test

test

put tut2do.txt

quit



FTPBAT.bat:

ftp -s:FTPcommand.dat

Replace 127.0.0.1 with the IP or domain of the FTP server.

Replace test with the user name and password (in that order).

Replace tut2do.txt with any file you want to upload.

Just updated your iPhone? You'll find updated Apple Intelligence capabilities, new wallpapers, and enhancements to Calculator, PDF cropping, and Live Voicemail, among other useful features. Find out what's new and changed on your iPhone with the iOS 18.3 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!