Hi Nancy,

I've done a pretty fair bit of work with DOS command scripts of late.
You might be looking for the ">>" function added to the end of your CMD
command.  Something like this:

CMD = "FTP -s:\\OURSERVER1\Flatfile\FTP.EXPORT\ftpscript1.txt >>
ftp.log"

I'd have to do some playing around but I think that might be what you're
looking for.  This should result in the displayed information of your
FTP process ends up in the "ftp.log" which is a text file in your
current directory.


BobW
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nancy Fisher
Sent: Wednesday, March 07, 2007 1:55 PM
To: [email protected]
Subject: [U2] FTP

I'm using AccuTerm DOSSVC to place a file on  remote FTP site.  It
always
shows up exactly like I want.
But I need to capture the results so I can automate it (just in case it
doesn't go).

The Basic program (AccuTerm) DOSSVC uses this syntax:
   EQU ESC TO CHAR(27)
   EQU STX TO CHAR(2)
   EQU CR TO CHAR(13)

  PRINT ESC:STX:'<':CMD:CR

The command is:  CMD = "FTP
-s:\\OURSERVER1\Flatfile\FTP.EXPORT\ftpscript1.txt"

and the ftpscript1.txt is:

    open ftp.somesite.com
    ourusername
    ourpassword
    ascii
    cd /
    send \\OURSERVER1\Flatfile\OURCLIENT\FILETOSEND.EDI
    bye

I don't know if I need to know DOS/FTP or BASIC or AccuTerm syntax to
return
the result of the transfer
absolutely ANYWHERE (variable or file).

I am practically clueless on DOS/FTP and have struggled to get this far.
Since I can send the file I am very
frustrated at not being able to manage the result.

I have tried the AccuTerm forum...and no luck so far.

We are on Windows/UniVerse.

thanks,
Nancy
[EMAIL PROTECTED]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to