dbTalk Databases Forums  

Export datas with FTP

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


Discuss Export datas with FTP in the microsoft.public.sqlserver.dts forum.



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

Default Export datas with FTP - 12-03-2003 , 09:27 AM






Hi guys,

I'm looking for a task which can export (upload) datas into a ftp server.

In Fact, I'm trying to build some automatic backups in my SQL Agent :
1. Backups my databases
2. Compress files with Winrar (command lines)
3. Transsferring compressed files to another server with FTP (the part
which is a problem for me)

Anyone can help me ?

Julien,



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export datas with FTP - 12-03-2003 , 10:27 AM






You cannot use the FTP task (Pull Only). You can however use ftp.exe in an
ExecuteProcess task (or batch file)

Why FTP to the other server ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Julien Foulquier" <ltopiq (AT) presence-pc (DOT) com> wrote

Quote:
Hi guys,

I'm looking for a task which can export (upload) datas into a ftp server.

In Fact, I'm trying to build some automatic backups in my SQL Agent :
1. Backups my databases
2. Compress files with Winrar (command lines)
3. Transsferring compressed files to another server with FTP (the part
which is a problem for me)

Anyone can help me ?

Julien,





Reply With Quote
  #3  
Old   
Julien Foulquier
 
Posts: n/a

Default Re: Export datas with FTP - 12-03-2003 , 10:58 AM



Thank you for your answer.

"You cannot use the FTP task (Pull Only)"
--> I'm looking for a push to backup my files into a distant server...

"You can however use ftp.exe in an ExecuteProcess task (or batch file)"
--> I tried. But a prompt request my to confirm in the case of the
destination files still exist. Do you know any way to confirm automatically
?

"Why FTP to the other server"
--> Because there is about 1000 km about my servers and I haven't an optical
fiber between them...


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> a écrit dans le message de
news:etFKgobuDHA.424 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Quote:
You cannot use the FTP task (Pull Only). You can however use ftp.exe in
an
ExecuteProcess task (or batch file)

Why FTP to the other server ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Julien Foulquier" <ltopiq (AT) presence-pc (DOT) com> wrote in message
news:eF$jUGbuDHA.2368 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi guys,

I'm looking for a task which can export (upload) datas into a ftp
server.

In Fact, I'm trying to build some automatic backups in my SQL Agent :
1. Backups my databases
2. Compress files with Winrar (command lines)
3. Transsferring compressed files to another server with FTP (the
part
which is a problem for me)

Anyone can help me ?

Julien,







Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Export datas with FTP - 12-03-2003 , 11:46 AM



does turning interactive mode to off (-i) help

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Julien Foulquier" <ltopiq (AT) presence-pc (DOT) com> wrote

Quote:
Thank you for your answer.

"You cannot use the FTP task (Pull Only)"
--> I'm looking for a push to backup my files into a distant server...

"You can however use ftp.exe in an ExecuteProcess task (or batch file)"
--> I tried. But a prompt request my to confirm in the case of the
destination files still exist. Do you know any way to confirm
automatically
?

"Why FTP to the other server"
--> Because there is about 1000 km about my servers and I haven't an
optical
fiber between them...


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> a écrit dans le message de
news:etFKgobuDHA.424 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
You cannot use the FTP task (Pull Only). You can however use ftp.exe in
an
ExecuteProcess task (or batch file)

Why FTP to the other server ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Julien Foulquier" <ltopiq (AT) presence-pc (DOT) com> wrote in message
news:eF$jUGbuDHA.2368 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi guys,

I'm looking for a task which can export (upload) datas into a ftp
server.

In Fact, I'm trying to build some automatic backups in my SQL Agent :
1. Backups my databases
2. Compress files with Winrar (command lines)
3. Transsferring compressed files to another server with FTP (the
part
which is a problem for me)

Anyone can help me ?

Julien,









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.