Tuesday, 18 January 2011

Simple FTP upload script

Using lftp (or other ftp cli client) yo can make a easy upload to a ftp server. Just create a text file with the ftp commands you want to execute, and use like this (using lftp) :

lftp  -uuser,pass  server < text_file_with_commands

Simple!

No comments:

Post a Comment