David Jondreau Posted January 5, 2009 Posted January 5, 2009 I'm trying to download a set of images onto the desktop and I can't figure out how to rename the files as they're downloaded. The plugin documentation mentions optional "flag" parameters, but I can't find information on how to implement them. I've tried adding an extra parameter, filename=$name, but that gets rejected as having too many parameters.
Valentin Posted January 26, 2009 Posted January 26, 2009 I just tested this with SC 2.2, please make sure that you're using SC Companion plugin version 2.2, we added the filename param in version 2.1.* , so I suspect the companion plugin may not be up to date.
David Jondreau Posted January 29, 2009 Author Posted January 29, 2009 I am using 2.061. I'm in the process of upgrading, but am stuck. It looks like 2.2 requires web publishing to be turned on, and I've never configured a web server before so I keep running into issues. Can anyone tell me how to set up Apache on Leopard?
Valentin Posted January 30, 2009 Posted January 30, 2009 Leopard server or client? You can also run SuperContainer in standalone mode with SuperContainerServer.jar which can be made a login item and start upon login of an account.
David Jondreau Posted January 30, 2009 Author Posted January 30, 2009 (edited) I'd be using Apache/Leopard on the server machine. What benefit would there be to running it on the client? Regardless, I can skip the Apache set up. I currently have SuperContainer 2.061 running in standalone mode. It starts up automatically via the Login option under Accounts. I want to upgrade to SC 2.2. I've installed SC 2.2, got my license key in. Now, is all I have to do is change the Login Item from the 2.061 version to 2.2 and all my current images will be available? The transition will be seamless? I'm being very cautious here because I have about 1,000 5 MB images being managed by SC 2.061 and don't want to screw that up. Edited January 30, 2009 by Guest
Valentin Posted January 30, 2009 Posted January 30, 2009 If you're using the default directory for storing files which is /Users/Shared/SuperContainer/Files/ then all you do is change the login item. If you've customized the path you'd need to specify it again in version 2.2
Newbies sunsabre Posted March 23, 2009 Newbies Posted March 23, 2009 In regards to the original question, I'm trying to do something similar right now and would love to see a syntax example for changing the filename as part of the download - thanks! Rick
Valentin Posted March 24, 2009 Posted March 24, 2009 Here is a sample SCDownload() call: SCDownload( Demo::_cResourceIdentifier ; Get( DesktopPath ) ; "" ; "" ; "filename=test.jpg" ) //SCDownload( folderPath { ; destinationFolder ; width ; height; key1=value1; key2=value2; ... } )
Newbies sunsabre Posted March 24, 2009 Newbies Posted March 24, 2009 That is just what I needed, thanks for the quick response! Rick
Recommended Posts
This topic is 5722 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now