Pier upload files on Server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pier upload files on Server

dtrussardi@tiscali.it
Ciao,

hi have  Pharo1.4  image ( Latest update: #14445)

where i load  the ConfigurationOfPier3AddOns 3.0.3.  


I have a server where run Lighttpd server configured to manage *Selection*  directory.

Now i'm interested with the Pier Admin environment and the relative image options editor

 to load the files on the server at one specific *Selection* subdirectory.

In the Pharo image i setup the MAExternalFileModel  with

  self baseDirectory: 'Selection'.
self baseUrl: 'http://www.server.com'.     ( this is redirect to the server )


But i see what  PRFileUploadWysiwygEditor    work with NAExternalFile


I need to setup the 

(unspecified)
Clear

relative to the myapplication-admin    or  myapplication   config ?

Anyone test this setup?

Thank, for any consideration.
Dario

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier upload files on Server

Nick
Hi Dario,

It works for me, but I'm not by a computer at the moment and I'm away for a week so I'm afraid I can't be of immediate assistance.

I also can't remember why I introduced NAExternalFile as opposed to just using MAExternalFileModel - but I do remember making the decision. I seem to remember writing some comments explaining the reason - if we're lucky class comments, otherwise they will be somewhere in the code.

Hope you can work it out,

Cheers

Nick

On 22 September 2012 16:02, [hidden email] <[hidden email]> wrote:
Ciao,

hi have  Pharo1.4  image ( Latest update: #14445)

where i load  the ConfigurationOfPier3AddOns 3.0.3.  


I have a server where run Lighttpd server configured to manage *Selection*  directory.

Now i'm interested with the Pier Admin environment and the relative image options editor

 to load the files on the server at one specific *Selection* subdirectory.

In the Pharo image i setup the MAExternalFileModel  with

  self baseDirectory: 'Selection'.
self baseUrl: 'http://www.server.com'.     ( this is redirect to the server )


But i see what  PRFileUploadWysiwygEditor    work with NAExternalFile


I need to setup the 

(unspecified)
Clear

relative to the myapplication-admin    or  myapplication   config ?

Anyone test this setup?

Thank, for any consideration.
Dario

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier upload files on Server

Dusty
"I represent an external file saved on the disk not in memory. I differ from ==MAExternalFileModel== as I don't deal with saving a file contents and generating a unique location, I only read files and don't write them. I expect to be passed a filepath to an already saved file.
I also store a url used to retrieve the file via a web server."

Just FYI