View Full Version : Photoshop Uploading Script
boytoy 05-05-2007, 11:59 PM So, a friend of mine asked me if i could do a script for photoshop, kinda like an action for photoshop, where you just press a button (F5 for example) and photoshop automatically saves a jpg version of the file we are working and precedes to upload it to a webserver with a predefined name (he wants the same name for the file, in order to overwrite the previous version on the server). is there a way to do this?
i saw this site. but have no idea how to make it work
http://www.ps-scripts.com/bb/viewtopic.php?t=1143&highlight=upload
anyone can help?
|
|
BlueFlare
05-06-2007, 02:31 AM
Try http://www.autohotkey.com/
berniebernie
05-06-2007, 09:12 AM
So, a friend of mine asked me if i could do a script for photoshop, kinda like an action for photoshop, where you just press a button (F5 for example) and photoshop automatically saves a jpg version of the file we are working and precedes to upload it to a webserver with a predefined name (he wants the same name for the file, in order to overwrite the previous version on the server). is there a way to do this?
i saw this site. but have no idea how to make it work
http://www.ps-scripts.com/bb/viewtopic.php?t=1143&highlight=upload
anyone can help?
the script is pretty straightforward; i tested it and it runs well on my machine... you have to change the
txt.writeln("prompt");
txt.writeln("cd products");
// write a line for every file you want to upload
txt.writeln("send \"" + fspath + prodName + "_1.jpg\"");
txt.writeln("send \"" + fspath + prodName + "_2.jpg\"");
txt.writeln("send \"" + fspath + prodName + "_3.jpg\"");
txt.writeln("send \"" + fspath + prodName + "_4.jpg\"");
txt.writeln("send \"" + fspath + prodName + "_5.jpg\"");
To the path of your saved image (you need to code the saving part as well)
boytoy
05-07-2007, 02:02 PM
so, i did the bat script and it works, but i cant seem to call it from photoshop.
the bat script is this..
you have a script.bat with this inside
ftp -s:script.txt <SERVER>
and then you have a file called script.txt with this inside
USERNAME
PASSWORD
bin
put temp.jpg
bye
but somehow photoshop cant seem to run this bat. dont know why
CGTalk Moderation
05-07-2007, 02:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.