There are many ways to do this.
1) Copy your data to Linux and then Execute the FTP command to process the
data. You'll need to stack your login/password and file transfer data.
2) Copy your data to Linux. From D3, create a script that does all the FTP
functions. Write the script to Linux, set permissions, then execute it from D3.
3) FTP directly from D3 using a socket. Same goes for e-mail. It's all just a
matter of understanding the FTP or SMTP protocols (I know, that's redundant).
For an excellent start, see Glen Bachelor's (aka Ryengoth's) site,
http://pick-source.freeservers.com/ where he has an example of and SMTP client
for D3. If you are going to implement FTP or SMTP yourself, you should become
familiar with the RFC documents which define all the common protocols and their
variations. See RFC821 for SMTP and RFC959 for FTP. Definitely not light
reading material, but that makes it all the more rewarding if you can
successfully implement one of them. I've written D3 clients for Usenet/NNTP,
SMTP, HTTP, and a couple others. Once you get the hang of it, it's not bad.
Good Luck,
Tony
> We are interested in using FTP to send documents and sending outbound email.
> In AP/Pro, we use PicLan-IP. Being new to D3/Linux, I know they can both be
> done, I just don't know how. In particular, the questions are:
> 1) does the document need to reside in Linux, or can it be sent from D3?
> 2) what is the proper syntax for the "ftp" command in Linux?
> 3) what is the proper syntax for the "sendmail" command in Linux?
> 4) is the above syntax the same for D3/AIX?
> Maybe some one can volunteer a snip of code?
> Thanks in advance for your help,
> Jeffrey Kaufman
> Key Data Systems Group
> www.keydat.com