If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > ftp with parameters

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-07, 01:58
jabhi.n jabhi.n is offline
Registered User
 
Join Date: May 2006
Posts: 14
ftp with parameters

Hi all,

I want to know how to pass parameter while using ftp.

I m using a host command in forms6i as

host('ftp.exe -i -s:\\isddev\keldev\finance\sql\jvprt.txt 192.9.201.8',no_screen);

And text file jvprt.txt is as :-

newfin
kelfnc
mput c:\jvprt.lst
bye


In this jvprt.txt i want to pass the parameter
Because file name jvprt.lst is creates as jvprtddmm.lst means I pass the
date parameter in the sql from which jvprt.lst is spool.


With paramete my jvprt.txt will be as below
newfin
kelfnc
mput c:\jvprt&ddmm.lst
bye.


I want to pass this ddmm parameter in host command called from forms.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On