Henrik,
I got the batch file working. Thanks again for this advice,
..bob
Bob,
I need to upload files to a FTP server, and I have just created a small
upload.bat file, that I get xp_cmdshell to run, after it has created
the files.
upload.bat looks like this:
ftp -s:upload.dat ftp.myOwnSite.com
upload.dat looks like this:
userid
password
binary
put myfile.txt
quit
Line 1 is the UserID for the FTP site, Line 2 is the password for this
site. Then I use the Binary FTP command, to ensure that it is treated
correctly. Then I upload (put) the file I want and finally I tell it
to quit processing.
FTP.com is a part of Windows, and is installed on all PCs.
Best regards,
Henrik Staun Poulsen
www.stovi.com