dbTalk Databases Forums  

FTP to

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss FTP to in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
branka
 
Posts: n/a

Default FTP to - 10-13-2003 , 04:35 PM






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

Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: FTP to - 10-13-2003 , 05:28 PM






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:

Quote:
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


Reply With Quote
  #3  
Old   
branka
 
Posts: n/a

Default Re: FTP to - 10-13-2003 , 06:53 PM



Thanks Sue!

Branka

Quote:
-----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

.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.