FTP from commandline

Can I open a new Directory Opus window connecting to a new (not stored) FTP server from the command line? What would be the syntax for this e.g. for username and password and some of the flags.

I would think of something like this ...
dopus FTP://47.163.245.44//flash user="p34106220" pass="test" flags="something"
... but this only comes up with the default settings for user and password.

Thanks
Juergen

This should work:

"C:\program files\gpsoftware\directory opus\dopusrt.exe" /cmd Go FTP://p34106220:test@47.163.254.44//flash

Note it's running dopusrt.exe and not dopus.exe

Works perfectly :laughing:

An additional question - A DO window with a dual view - left the FTP as discribed - right the local directory d:\ - also with commandline?

There are two ways to do that.

If you only want to change one side at a time, add OPENINLEFT or OPENINRIGHT at the end of the command line.

If you want to open stuff on both the left and the right in a single command, you can use the DUALPATH argument for that:

(I've left out the dopurt.exe /cmd stuff so the line isn't so long... Put that back in if you're running the command outside of Opus.)

Go FTP://blah DUALPATH "C:\Program Files"

(Just using "Program Files" there as it's an example of a path with a space in it.)

If you always want to open a new window, add the NEW argument.

For anyone else reading the thread: You may also want to look at using saved Layouts for this type of thing. They let you save the state of one or more Opus windows and then recall them later, without having to use any command-line stuff. In Jarlt's case, though, he needs something which lets him specify the paths to be opened without knowing what they are in advance. This command-line method is more suited to that than Layouts.