[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: your mail



Sender: Scott Mildenberger <scottmildenberger@xxxxxxxxx>

Yes that's it although you don't want to specify the machine
name part (\\Ca-xxxxxx) because you are already logged in to
that machine.  Just specify \xxxInterface\Outbound\xxx such as

 if ftp_chdir(fd: '\xxxInterface\Outbound\xxx') < 0


Scott Mildenberger

--- John Cunha <John.Cunha@xxxxxxxxxxxx> wrote:
> Sender: "John Cunha" <John.Cunha@xxxxxxxxxxxx>
> 
> Thanks Scott...
> 
> Is this is the code I need to change?
> 
> 
> 0107.00
>
****************************************************************
>    
> 0108.00  ** get a list of up to 50 files in the
> pub/FreeBSD/tools dir
> 
> 0109.00  ** (we intend to download all the of these files)
> 
> 0110.00
>
****************************************************************
>    
> 0111.00 c                   if        ftp_chdir(fd:
> 'pub/FreeBSD/tools')
> < 0 
> 0112.00 c                   callp     CompMsg(ftp_error)
> 
> 0113.00 c                   callp     ftp_quit(fd)
> 
> 0114.00 c                   eval      *inlr = *on
> 
> 0115.00 c                   return
> 
> 0116.00 c                   endif
> 
> 0117.00
> 
> 
> If so how can I change it to go to a specific one such as:
> \\Ca-xxxxxx\xxxInterface\Outbound\xxx to Text File     
> 
> Thanks for the help!
> John Cunha
>          
> >-----Original Message-----
> >From: Scott Mildenberger [mailto:scottmildenberger@xxxxxxxxx]
> >Sent: July 24, 2003 10:32 AM
> >To: ftpapi@xxxxxxxxxxxxx
> >Subject: RE: your mail
> >
> >Sender: Scott Mildenberger <scottmildenberger@xxxxxxxxx>
> >
> >Look at the ftp_chdir procedure.
> >
> >Scott Mildenberger
> >--- John Cunha <John.Cunha@xxxxxxxxxxxx> wrote:
> >> Sender: "John Cunha" <John.Cunha@xxxxxxxxxxxx>
> >>
> >> Hi there!
> >> I have a question... please.
> >> How can I specify a particular folder at the remote server
> in
> >> the
> >> program TESTMGET?
> >> I need to grab files (depending on the application) from
> >> different
> >> folders and then import them into our AS/400 for process.
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free, easy-to-use web site design
> software
> >http://sitebuilder.yahoo.com
>
>-----------------------------------------------------------------------
> >This is the FTPAPI mailing list.  To unsubsribe from the list
> send mail
> >to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi
> mymailaddr
>
>-----------------------------------------------------------------------
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubsribe from the list
> send mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi
> mymailaddr
>
-----------------------------------------------------------------------


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------