Is it possible to perform multiple commands during a single connection session initiated by command line invoked CoreFTP?
Because of a trigger that the partner on the other side has in place we would like to do a PUT and GET during the same connection.
If we use 2 separate sessions the file is gone when we reconnect.
If this is possible an example of the syntax would be great.
Thank you.
Multiple commands during single scripted session
-
- Site Admin
- Posts: 989
- Joined: Mon Mar 24, 2003 4:37 am
Re: Multiple commands during single scripted session
try the -scal <script_file_name> option
coreftp.com/forums/viewtopic.php?f=2&t=2995572
coreftp.com/forums/viewtopic.php?f=2&t=2995572
Re: Multiple commands during single scripted session
Thanks, are they any examples of the script file contents format?
-
- Site Admin
- Posts: 989
- Joined: Mon Mar 24, 2003 4:37 am
Re: Multiple commands during single scripted session
There are examples in the link referenced above. Use FTP commands like RETR and STOR, one per line.