[Pharo-project] Setting a external FTP
In the FileBrowser tool , if you click in Add server you could do some like. "Please fill in the following info, then select all text and choose DoIt." | aa | self flag: #ViolateNonReferenceToOtherClasses. aa := ServerDirectory new. aa server: 'squeakros.org'. "host" aa user: 'xxxx'. aa password: 'xxxx'. aa directory: '/squeakros.org'. aa url: ''. "<- this is optional. Only used when *writing* update files." ServerDirectory addServer: aa named: 'SqueakRos'. "<- known by this name in Squeak" In the attached I add the missing method. Nice to have how manage a external ftp from inside image, so I share for any which needs. Edgar
This will only work in 1.4. ServerDirectory is gone in 2.0. Maybe someone out there has some excess energy to implement an FTP Filesystem backend, or even nicer an S3 Filesystem ;) best cami On 2012-10-05, at 14:53, "Edgar J. De Cleene" <edgardec2005@gmail.com> wrote:
In the FileBrowser tool , if you click in Add server you could do some like.
"Please fill in the following info, then select all text and choose DoIt."
| aa | self flag: #ViolateNonReferenceToOtherClasses. aa := ServerDirectory new. aa server: 'squeakros.org'. "host" aa user: 'xxxx'. aa password: 'xxxx'. aa directory: '/squeakros.org'. aa url: ''. "<- this is optional. Only used when *writing* update files." ServerDirectory addServer: aa named: 'SqueakRos'. "<- known by this name in Squeak"
In the attached I add the missing method. Nice to have how manage a external ftp from inside image, so I share for any which needs.
Edgar
<ServerDirectory class-addServernamed.st>
On 10/5/12 9:59 AM, "Camillo Bruni" <camillobruni@gmail.com> wrote:
This will only work in 1.4. ServerDirectory is gone in 2.0.
Maybe someone out there has some excess energy to implement an FTP Filesystem backend, or even nicer an S3 Filesystem ;)
best cami
I forget tell is a fresh Pharo-1.4-14557 one click Is important to me and my guess is some could use this also, so I share Edgar
participants (2)
-
Camillo Bruni -
Edgar J. De Cleene