dbTalk Databases Forums  

DTS/FTP question from newbie

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


Discuss DTS/FTP question from newbie in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fr@nk
 
Posts: n/a

Default DTS/FTP question from newbie - 11-12-2004 , 06:59 AM






Dear all,

please forgive me if I'm posting this in the wrong group, I'm very new to
SQL-server and DTS.

The question is:
Is it possible to delete files from a FTP-site after one has copied (using
the FTP task in DTS) them to the local machine. It probably is, but how does
one do this?

Thanks for any help!


Frank Hepkema
Infoprofs
The Netherlands

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

Default Re: DTS/FTP question from newbie - 11-12-2004 , 10:14 AM






Frank,
You are posting to the correct newsgroup.
The FTP task in DTS is limited. To get more functionality
with FTP, you can use an Execute process task and execute
command line ftp and it's commands directly.
Often, it's easier to use an FTP script file to execute the
commands. You would just use a command like:
ftp -sC:\PathToYour\FTPFile

In the file, you would just enter the following:
open <ftp site>
<login>
<password>
delete <your file>
bye
The windows help file has details on the ftp commands.

-Sue

On Fri, 12 Nov 2004 04:59:01 -0800, "Fr@nk"
<Frnk (AT) discussions (DOT) microsoft.com> wrote:

Quote:
Dear all,

please forgive me if I'm posting this in the wrong group, I'm very new to
SQL-server and DTS.

The question is:
Is it possible to delete files from a FTP-site after one has copied (using
the FTP task in DTS) them to the local machine. It probably is, but how does
one do this?

Thanks for any help!


Frank Hepkema
Infoprofs
The Netherlands


Reply With Quote
  #3  
Old   
Fr@nk
 
Posts: n/a

Default Re: DTS/FTP question from newbie - 11-15-2004 , 02:05 AM



Thanks Sue,

I'll give it a go.

Cheerio,

Fr@nk

Frank Hepkema
Infoprofs
The Netherlands

"Sue Hoegemeier" wrote:

Quote:
Frank,
You are posting to the correct newsgroup.
The FTP task in DTS is limited. To get more functionality
with FTP, you can use an Execute process task and execute
command line ftp and it's commands directly.
Often, it's easier to use an FTP script file to execute the
commands. You would just use a command like:
ftp -sC:\PathToYour\FTPFile

In the file, you would just enter the following:
open <ftp site
login
password
delete <your file
bye
The windows help file has details on the ftp commands.

-Sue

On Fri, 12 Nov 2004 04:59:01 -0800, "Fr@nk"
Frnk (AT) discussions (DOT) microsoft.com> wrote:

Dear all,

please forgive me if I'm posting this in the wrong group, I'm very new to
SQL-server and DTS.

The question is:
Is it possible to delete files from a FTP-site after one has copied (using
the FTP task in DTS) them to the local machine. It probably is, but how does
one do this?

Thanks for any help!


Frank Hepkema
Infoprofs
The Netherlands



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.