![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am creating a DTS package and after creating a .txt file I would like to FTP it to my unix machine... The FTP task seems to only be able to specify Intenet as a source, not as a destination. Anybody has any idea if I am just doing something wrong? Do I have to write a script that would do it (VBScript can't FTP if I am correct?). What do you use? Thanks. Branka |
#3
| |||
| |||
|
|
-----Original Message----- Branka, No, you aren't doing anything wrong. The FTP task supports FTP gets(retrieve) but not FTP puts(send). You can use the command line ftp. You can execute this with Execute Process task. It's sometimes easier to use an FTP script file for the ftp commands and execute ftp using this script file. To use a file, the command is: ftp -sC:\PathToYour\FTPFile In the file, you would just enter the following: open <ftp site login password put <path to file you want to send bye -Sue On Mon, 13 Oct 2003 14:35:44 -0700, "branka" b (AT) nomail (DOT) com wrote: I am creating a DTS package and after creating a .txt file I would like to FTP it to my unix machine... The FTP task seems to only be able to specify Intenet as a source, not as a destination. Anybody has any idea if I am just doing something wrong? Do I have to write a script that would do it (VBScript can't FTP if I am correct?). What do you use? Thanks. Branka . |
![]() |
| Thread Tools | |
| Display Modes | |
| |