May 9, 2006 at 4:50 pm
Hi, I wonder if anyone can solve my FTP Task problem?
When I execute the task I get the error message:
[FTP task error]: File represented by "/TRGL.TXT" does not exist.
and I can't see any files in the '/' directory when I browse the FTP server using the elipses in for RemotePath in the FTP Task editor.
But, I can run http://FTP.exe at the command prompt using:
ftp> get /TRGL.TXT c:\TRGL.TXT
without any problems, and I can do the FTP in SSIS using the Execute Process Task, with the same logon, password and parameters, with out problem either.
I'm stumped. Does anyone know if I have made a silly error, or is this a known problem?
Many thanks
May 12, 2006 at 8:00 am
This was removed by the editor as SPAM
June 7, 2006 at 4:19 am
I have had a similar problem with a stored password for an ftp connection not persisting. As a result, I cannot execute an ftp task, as I get these errors:
Error: 0xC001602A at CBTestPackage, Connection manager "FTP Connection Manager": An error occurred in the requested FTP operation. Detailed error description: The password was not allowed
.Error: 0xC002918F at FTP Task, FTP Task: Unable to connect to FTP server using "FTP Connection Manager".
Task failed: FTP Task
Has anyone identified the fix for this?
June 27, 2006 at 9:03 am
I also had the same problem as i tried to send flatfiles to a FTP-Host.
I get these error-messages:
"An Error occurred in the requested FTP operation. Detailed error description:The password was not allowed."
Does anyone knows who to solve this?
June 27, 2006 at 9:03 am
I also had the same problem as i tried to send flatfiles to a FTP-Host.
I get these error-messages:
"An Error occurred in the requested FTP operation. Detailed error description:The password was not allowed."
Does anyone knows who to solve this?
June 27, 2006 at 9:04 am
I also had the same problem as i tried to send flatfiles to a FTP-Host.
I get these error-messages:
"An Error occurred in the requested FTP operation. Detailed error description:The password was not allowed."
Does anyone knows who to solve this?
June 28, 2006 at 6:53 pm
Right click on your FTP connection manager, go to its Properties (the very bottom, not the Edit button), and type in the password.
save your package with EncryptSensitiveWithPassword.
That's how I made mine work. Let me know if it doesn't coz I too was figuring this out for the longest time when I first started.
June 29, 2006 at 8:19 am
The Package works really fine, when i run my Package local, the flatfiles had been sent successfully to the FTP-Host.
But as i start the Package from the Management Studio, i get the same failure message as described above.
Do i also have to type in the password in the connection string (connection manager)?
June 29, 2006 at 11:12 am
Try this then, use the package configuration file. Save the user name and password into the configuration file. Then change the package setting to DontSaveSensitive. Then try to run it from Management Studio. Let me know if you need help with saving info to configuration file.
June 29, 2006 at 11:13 am
Or another option, if you have the package already set to EncyrptSensitivewithPassword, in management studio, set up a job that will call your dispatcher. Then go to the Command line tab, and type in the password of your package.
June 30, 2006 at 1:24 am
Why should i have to protect my package with a password in Visual Studio in order to run my job in Management Studio properly? I thought that the setting "EncyrptSensitivewithPassword" just refers to the package or do i have to protect my packages with passwords in order to execute them on the management Studio?
July 5, 2006 at 12:04 am
I have the same problem.
I can run http://ftp.exe and do my ftp task. but it just doesn't work when i do it through ftp task.
I'm connecting to a unix box and my path is in the /dir1/dir2/dir3/file.trg format.
i'm using a variable to store this value.
what is wrong? Anyone?
August 28, 2006 at 7:01 am
Hello ,
I wanted to know how to make a dynamic FTP Connection. My FTP Server will be having a FTP server Name , File path, FTP Server Name, FTP User Name, FTP Password. Our Database maintains different FTP servers for different clients.In DTS we used below code in activex script task to connect to the FTP Dynamically.
"Set objTask = objPackage.Tasks(cstr("DTSTask_DTSFTPTask_2")).CustomTask
objTask.SourceLocation = 0
objTask.sourcesite = DTSGlobalVariables("g_str_ftpservername").Value
objTask.SourceUsername = DTSGlobalVariables("g_str_ftpusername").Value
objTask.SourcePassword = DTSGlobalVariables("g_str_ftppassword").Value
objTask.NonOverwritable = False
objTask.SourceFilename = srcFiles
objTask.destsite = DTSGlobalVariables("g_str_filelocation").Value
Now we are migrating our workflows to SSIS (SQL Server 2005). The problem is we are unable to find solution for dynamically connecting to FTP Server which maintains a password.
Can any body help please.
Thanks,
Kiran G
November 17, 2006 at 9:08 am
Hi,
I have the same problem as the original poster, whose question didn't seem to be answered.
I can get a file via FTP from the command line, and the FTP connection in SSIS tests successfully, but the directories and files are not visible through SSIS.
Any help appreciated.
Thanks,
Elias
November 19, 2006 at 5:22 pm
Hi,
I haven't found a solution, but I have found a working around using the Execute Process Task. In the Execute Process Task Editor, Process page I set:
The C:\ directory contains my FTP_Script.txt file, which logons to the remote FTP server and transfer my file named TRGL.TXT from the FTP server root directory to the c:\ drive of the SQL server:
OPEN FTP_SERVER
logonid
password
GET /TRGL.TXT C:\trgl.txt
DELETE /TRGL.TXT
bye
It annoys the crap out of me, because it ignores the apparent functionality of the FTP Task, but what else can a bloke do?
Viewing 15 posts - 1 through 15 (of 49 total)
You must be logged in to reply to this topic. Login to reply