Developer-Community.com

Software => Rightload - Official Forums => Topic started by: serendipity on June 23, 2008, 10:29:50 PM

Title: Command line options?
Post by: serendipity on June 23, 2008, 10:29:50 PM
I am new here, so sorry if somebody already requested this.
I line rightload a lot and want to know if it has command line options. Something like:
"rightload new.jpg, server/newfolder" in the command line uploads the new.jpg to server/newfolder.
Is this possible?
Title: Re: Command line options?
Post by: nk on June 24, 2008, 05:39:07 PM
There is a way to do this, but since it was only meant for communication between the shell extension and the main program, it's a bit weird. I will have to check the specifics after I managed to repair my computer, but basically the command is something like "Rightload.exe :Num:Dir: C:\file1 D:\file2", where Num is the number of the server you want to upload to and dir is the target directory.
Title: Re: Command line options?
Post by: serendipity on June 29, 2008, 06:56:42 AM
Thanks a lot, that works like a charm.
Title: Re: Command line options?
Post by: nk on August 06, 2008, 04:24:55 PM
Just so you know, the next version will support new, more intuitive parameters. They will probably be:

--server=ID (where ID is the number of the server, starting at 1)
--directory=PATH (where PATH is the path to the directory)
--custom-directory (will display a message box asking for target directory)
--autostart (this parameter will queue files and start the upload immediately)
--queue (this parameter will just queue files)

And to add files, use --autostart or --queue and add the file names as seperate parameters at the end.

The old syntax will keep working for a while, but I will probably remove it in the future.
Title: Re: Command line options?
Post by: serendipity on November 22, 2008, 06:42:15 AM
Just so you know, the next version will support new, more intuitive parameters. They will probably be:

--server=ID (where ID is the number of the server, starting at 1)
--directory=PATH (where PATH is the path to the directory)
--custom-directory (will display a message box asking for target directory)
--autostart (this parameter will queue files and start the upload immediately)
--queue (this parameter will just queue files)

And to add files, use --autostart or --queue and add the file names as seperate parameters at the end.

The old syntax will keep working for a while, but I will probably remove it in the future.
Thanks for this. I use a file manager called XYplorer which allows me to run rightload with command line options. This way all I do is select a bunch of files and use a keyboard shortcut to upload those files. Its really one button task for me. Thanks for this product. Good job.
Link to XYscript: http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=2683&p=28606#p28606
Title: Re: Command line options?
Post by: nafs on March 11, 2009, 02:49:39 PM
Hi!
Any chance to include the overwrite options in the command line? I'd love to be able to do one of these:

C:\Program Files\Rightload\Rightload.exe "screenshot_001.png"  --server=1 --autostart --existing=overwriteIfNewer
C:\Program Files\Rightload\Rightload.exe "screenshot_002.png"  --server=1 --autostart --existing=rename
C:\Program Files\Rightload\Rightload.exe "screenshot_003.png"  --server=1 --autostart --existing=renameLocal
Title: Re: Command line options?
Post by: nafs on March 11, 2009, 03:06:56 PM
Is there a way to open Rightload "silently" or in the System Tray?

I need it to add files to the queue from the command line without the window popping up continuously.

Thanks!
Stefan
Title: Re: Command line options?
Post by: nk on April 12, 2009, 03:14:35 PM
Is there a way to open Rightload "silently" or in the System Tray?

I need it to add files to the queue from the command line without the window popping up continuously.

Thanks!
Stefan
The next version should contain a --background switch that will achieve this.
Title: Re: Command line options?
Post by: Thomas_BA on April 28, 2009, 02:41:40 AM
Hello, first thanks for the great program.
I am configuring it to use it in FireFox with the extension 'Launchy'. Works great so far. One problem:

Command line parameter --server. What would be the 'ID' for the plugin 'ImagesHack'?

Thanks
Thomas
Title: Re: Command line options?
Post by: nk on April 28, 2009, 10:30:57 AM
Please see here: http://developer-community.com/forums/index.php/topic,157.0.html
Title: Re: Command line options?
Post by: Thomas_BA on April 28, 2009, 02:30:20 PM
Thank you very much. That did the job. Perhaps i will have a look into FF extensions some day 'trying' to make one for Rightload.

Thanks
Thomas