dbTalk Databases Forums  

ini file for ftp

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


Discuss ini file for ftp in the microsoft.public.sqlserver.dts forum.



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

Default ini file for ftp - 05-24-2004 , 12:58 AM






Hi ,
I`m trying to create ftp task that gets it`s parameters
dynamically via ini file .
all seems o.k. and the ftp task seems to get the right parameters but for
some reason when a try to run the package I get the massage of invalid
"invalid string format for source file names "

here is my ini file :
[source Directory path]

Name=C:\dir_1

[destination directory path]

Name=C:\dir_2
[Source file name]
Name=file.bak





Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: ini file for ftp - 05-24-2004 , 08:33 AM






Your format for SourceFilename looks wrong. Have a look at Books Online,
"SourceFilename Property" of the FTP task, and it describes it as this-

'name';'path';'size';

So try-

[Source file name]
Name='file.bak';'';'';



--
Darren Green
http://www.sqldts.com


<w2system (AT) system (DOT) com> wrote

Quote:
Hi ,
I`m trying to create ftp task that gets it`s parameters
dynamically via ini file .
all seems o.k. and the ftp task seems to get the right parameters but for
some reason when a try to run the package I get the massage of invalid
"invalid string format for source file names "

here is my ini file :
[source Directory path]

Name=C:\dir_1

[destination directory path]

Name=C:\dir_2
[Source file name]
Name=file.bak







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.