Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

File upload with power dynamo

5 posts in General Discussion (old) Last posting was on 2000-03-29 17:48:40.0Z
bob Posted on 2000-03-29 14:48:11.0Z
Newsgroups: sybase.public.easerver
Reply-To: "bob" <roberto.graiff@sidera.it>
From: "bob" <roberto.graiff@sidera.it>
Subject: File upload with power dynamo
Date: Wed, 29 Mar 2000 16:48:11 +0200
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: ppp89-bz.dnet.it 194.242.194.89
Message-ID: <347_oWU1d8Ym$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25382
Article PK: 155473

Greetings, i have developed an application in power dynamo, but a problem is
born.
How can i do an file upload module?

Thanks Stefano.


Dave Wolf [Sybase] Posted on 2000-03-29 15:03:56.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: File upload with power dynamo
Date: Wed, 29 Mar 2000 10:03:56 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.61
Message-ID: <347_q98ulCZm$GA.285@forums.sybase.com>
References: <347_oWU1d8Ym$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25380
Article PK: 154303

You cant. You'll need to use a Java servlet.

Dave Wolf
Internet Applications Division

"bob" <roberto.graiff@sidera.it> wrote in message
news:oWU1d8Ym$GA.290@forums.sybase.com...
> Greetings, i have developed an application in power dynamo, but a problem
is
> born.
> How can i do an file upload module?
>
> Thanks Stefano.
>
>


bob Posted on 2000-03-29 15:18:11.0Z
Newsgroups: sybase.public.easerver
Reply-To: "bob" <roberto.graiff@sidera.it>
From: "bob" <roberto.graiff@sidera.it>
Subject: R: File upload with power dynamo
Date: Wed, 29 Mar 2000 17:18:11 +0200
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: ppp89-bz.dnet.it 194.242.194.89
Message-ID: <347_ehXbONZm$GA.276@forums.sybase.com>
References: <347_oWU1d8Ym$GA.290@forums.sybase.com> <347_q98ulCZm$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25376
Article PK: 154299

Thank you for the answer, now i have another question to submit, how is
possible watch the file list of a phisycal directory ?

Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
q98ulCZm$GA.285@forums.sybase.com...
> You cant. You'll need to use a Java servlet.
>
> Dave Wolf
> Internet Applications Division
>
> "bob" <roberto.graiff@sidera.it> wrote in message
> news:oWU1d8Ym$GA.290@forums.sybase.com...
> > Greetings, i have developed an application in power dynamo, but a
problem
> is
> > born.
> > How can i do an file upload module?
> >
> > Thanks Stefano.
> >
> >
>
>


Jay Fienberg Posted on 2000-03-29 17:48:40.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 29 Mar 2000 09:48:40 -0800
From: "Jay Fienberg" <jfienberg@simmedia.com>
Subject: Re: R: File upload with power dynamo
X-Newsreader: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 33
NNTP-Posting-Host: dsl-641378109.sfo.internetconnect.net 64.13.78.109
Message-ID: <347_Lny8kfam$GA.52@forums.sybase.com>
References: <347_oWU1d8Ym$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25347
Article PK: 155447


> i have another question to submit, how is
> possible watch the file list of a phisycal directory ?

There are a couple of ways to do this. One way, which I find fast though a
bit roundabout:

use the system execute method to run the directory command, output to a
file, then use Dynamo's file object to read and parse that file. So,
something like:

system.Exec('dir c:\\mydirectory > c:\\read_dir\\mydirectory.txt');
f = new File('c:\\read_dir\\mydirectory.txt', 'rt');
f.Open();

--etc--

You can also look into creating a linked directory and then look at the
'contview.ssc' script in the system folder as a prototype for reading
through the contents of the directory. This script can be modified to go
through the contents of a linked directory just as it would a directory
internal to Dynamo. I haven't done this since PD version 3 came out, but
this was very slow in version 2.

Also, if you are using a PD File site, and you need to see what is in your
folders, again, see the contview.ssc script for an example. I have found
this to be pretty fast in this case. (I recently wrote a script that does a
kind of global search and replace on my scripts, and uses this kind of
technique.)

HTH

Jay Fienberg
Adidam Emporium http://adidam.com


Lance Andersen Posted on 2000-03-29 16:23:43.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 29 Mar 2000 11:23:43 -0500
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: File upload with power dynamo
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 18
NNTP-Posting-Host: alder.sybase.com 157.133.125.15
Message-ID: <347_38E22E0F.A8C3C3CD@sybase.com>
References: <347_oWU1d8Ym$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25362
Article PK: 155462


bob wrote:
>
> Greetings, i have developed an application in power dynamo, but a problem is
> born.
> How can i do an file upload module?
>
> Thanks Stefano.

Depending on what you are trying to do, the ftp object might be of use
to you.
--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Product Support Engineering Phone:(781) 564-6336
77 South Bedford Street Fax: (781) 564-7001
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================