Author Topic: Command line options?  (Read 11464 times)

serendipity

  • Newbie
  • *
  • Posts: 3
    • View Profile
Command line options?
« 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?

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Command line options?
« Reply #1 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.

serendipity

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Command line options?
« Reply #2 on: June 29, 2008, 06:56:42 AM »
Thanks a lot, that works like a charm.

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Command line options?
« Reply #3 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.

serendipity

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Command line options?
« Reply #4 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

nafs

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Command line options?
« Reply #5 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

nafs

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Command line options?
« Reply #6 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

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Command line options?
« Reply #7 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.

Thomas_BA

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Command line options?
« Reply #8 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

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
Re: Command line options?
« Reply #9 on: April 28, 2009, 10:30:57 AM »

Thomas_BA

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Command line options?
« Reply #10 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