[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] using ftp from sqr
- Subject: RE: [sqr-users] using ftp from sqr
- From: "Steve Cavill" <steve.cavill@infoclarity.com.au>
- Date: Thu, 27 Jan 2005 14:36:16 +1100
- Delivery-date: Wed, 26 Jan 2005 22:39:18 -0500
- In-reply-to: <BAY24-F35B61F9296E8691E241265B5780@phx.gbl>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AcUEBPI3dDVxqGh3RsmqNbMDkDe3/wAG++yw
You need to put all the commands in a single shell script and call that with
one "call system using" command.
Each call system using command starts a new shell, so each shell command
does not know about the other shell commands. Also you need to use the ftp
"batch mode" syntax, ie pass the userid and password on invocation. Check
you man ftp for the exact syntax.
Cheers, Steve
Steve Cavill
Infoclarity
www.infoclarity.com.au
-----Original Message-----
From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org
[mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On
Behalf Of tam kag
Sent: Thursday, 27 January 2005 11:08 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] using ftp from sqr
Hello,
Im working on a project where i need to FTP a file to a unix box
this is the code that I have tried, any info well be helpfull
I'm FTPing to a unix box from a unix box
the code:
call system using 'ftp -n unix_box' #stat call system using 'user userid
userpassword' #stat call system using 'cd /dirone/dirtwo/dirthree' #stat
call system using 'put hello.txt' #stat
Thank you
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users