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

never mind...RE: ftp help...



Title: never mind...RE: ftp help...

I figured it out... the correct code was...

c                   eval      rc = ftp_list(fd: 'inbox/*': 1000:
c                                   %addr(incoming): num_files) 

but After debuging it, i noticed the "incoming" doesn't retain the path, the files were stored, so I had to add the 'inbox' to the Get Routine...

c                   if        ftp_get(fd: 'inbox/'+incoming(fileno):  
c                                  '/ediftp/mckesson/inbox/'+         
c                                  incoming(fileno))>=0               
c                   eval      gotfiles = gotfiles + 1                 

And now it works... 

tim

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.