Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing Script attachments
#1
Let's see if the forum will allow me to attach a script-fu .scm file

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
And Python .py ?

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
And a Zip:


.zip   kp24_test_for_duplicate_scripts_1_8.zip (Size: 6.29 KB / Downloads: 506)

And 7z:

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
So in conclusion, only .zip is allowed.
Reply
#2
I have enabled 7z (but not .rar).

I pondered .py and .scm... For .py,

  1. it could be executed by default on Windows, so it's a security problem
  2. for Linux & OSX, it's the opposite, it won't be executable by default, and you have to remind everybody to set the flag (something that many OSX people don't know how to do), but if you package it in a .zip or 7z, it gets the executable flag automatically when you unzip. You can think that this is in contradiction with 1), but at least the user had to 1) explicitly unzip the file and 2) manually invoke it...
I agree this isn't a problem with .scm, but then I would have to explain why .scm and not .py Smile
Reply
#3
I've not got a problem with zipping either Pythons or Script-Fus, it just means explicitly explaining about extraction.
Reply
#4
Trying a 7z


Attached Files
.7z   icons.7z (Size: 11.51 KB / Downloads: 303)
Reply
#5
Well code is still allowed so no biggy.  Smile


Code:
my code here
Reply
#6
(10-15-2016, 01:34 AM)Rod Wrote: Well code is still allowed so no biggy.  Smile


Code:
my code here

The is a limit on posts size (about 32K).
Reply


Forum Jump: