0

What is the linux equivalent of -s windows ftp option that specifies a file that contains ftp commands:

>ftp -s:C:\ftp-commands.src

2 Answers 2

0

I suppose the easiest way should be doing something like this:

ftp < command_file.src

There isn't any parameter for doing that in linux ftp, but that way you can redirect the content of the file to the command, so the result is the same in essence.

0

You might also look into cygwin & simply run the linux command the same way that you're accustomed to

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.