Hi, I have downloaded the ftp software on my chroot environment, but I am having some troubles, (I have read the man page and the manual), please dont just send me to the page, i know where it is.
I see that mput seems to be sending multiple files to a remote dir, but:
what is the syntax?
mput path/to/file1.ext path/to/file2.ext remote/dir/file1.ext remote/dir/file2.ext
I can't get it quite right.
Second, how to output the result? For example, when I do dir, how to I output the result to bash as string? so i can process the result with bash script?
Third, is there a easy way if I want to put the file to the remote dir much like synchronizing the folder, only copy files that do not exist in the remote dir. (so it doesnt waste time to copy all over and overwrite them)