Hi,

I did the same as you expecting now but could not get any reply from last 
2 days so now i decided to post it for the excellent people.
Few persons have been used it and i am getting their feedback on this.

Thanks & Regards
Vinod Soni
Enterprise Architecture (Humana)
Desk: +91-120-4398818
Mobile:+91-9899694444



Brass Tilde <brassti...@gmail.com> 
02/15/2011 09:45 AM

To
Vinod Soni <vs...@humana.com>
cc
nant-developers@lists.sourceforge.net
Subject
Re: [nant-dev] FTP task not working






Why aren't you asking the people from whom you downloaded the task?  It 
seems to me that they would be more qualified to answer your question.

On Tue, Feb 15, 2011 at 6:52 AM, Vinod Soni <vs...@humana.com> wrote:

Dear Team, 

I downloaded a FTP task from www.liveingit.de site. Which is used to 
transfer contents from local system directory to over ftp location. 

The written the following script to transfer content. but it's getting the 
error when i try to run this. Kindly help if anybody have idea about the 
same or know about some other FTP task. 

<target name="MyFTP" description="Copies files to target deploy folder (It 
may be the FTP location)."> 
     <property name="ftptask" value="C:\Nant 
Version\FTP\ftptask-v1.0.85.41-bin\FTPTask\bin\Release\ftptask.dll"/> 
    <property name="remotehost" value="ftp://idea.com"/> 
    <property name="username" value="systemadmin"/> 
    <property name="pwd" value="123456"/> 
    <property name="remote-dir" value="/TESTPFP/test"/> 
    <property name="source" value="
C:\PFP\Src\Hosts\Humana.Provider.PFP.Web"/> 
    <loadtasks assembly="${ftptask}" /> 
    
    <connection id="myConn" server="${remotehost}"  username="${username}" 
password="${pwd}"/> 
    <ftp createdirs="true" exec="true" 
       connection="myConn" 
       remotedir="${remote-dir}" 
       showdironconnect="true"> 
      <put type="ascii" localdir="${source}" flatten="true"> 
        <include name="**" /> 
      </put> 
    </ftp> 
  </target> 

Error: 

System.Net.Sockets.SocketException: The requested name is valid and was 
found in 
 the database, but it does not have the correct associated data being 
resolved f 
or 
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean 
includeIPv6) 

   at System.Net.Dns.Resolve(String hostName) 
   at EnterpriseDT.Net.Ftp.FTPClient..ctor(String remoteHost, Int32 
controlPort, 
 Int32 timeout) 
   at EnterpriseDT.Net.Ftp.FTPClient..ctor(String remoteHost) 
   at Sourceforge.NAnt.Ftp.Tasks.FTPTask.ftpConnect() 
   at Sourceforge.NAnt.Ftp.Tasks.FTPTask.Work() 
   at Sourceforge.NAnt.Ftp.Tasks.FTPTask.ExecuteTask() 
   at NAnt.Core.Task.Execute() 
   at NAnt.Core.Target.Execute() 
   at NAnt.Core.Project.Execute(String targetName, Boolean 
forceDependencies) 
   at NAnt.Core.Project.Execute() 
   at NAnt.Core.Project.Run() 

I shall be thankful to you for the help. 

Thanks & Regards
Vinod Soni
Enterprise Architecture (Humana)
Desk: +91-120-4398818
Mobile:+91-9899694444 
The information transmitted is intended only for the person or entity to 
which it is addressed and may contain CONFIDENTIAL material. If you 
receive this material/information in error, please contact the sender and 
delete or destroy the material/information. 
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers




The information transmitted is intended only for the person or entity to which 
it is addressed and may contain CONFIDENTIAL material.  If you receive this 
material/information in error, please contact the sender and delete or destroy 
the material/information.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to