upload file with FTP using nant

前端 未结 6 1583
一生所求
一生所求 2021-02-06 01:15

I have an NAnt script that I use to build my .NET project, and I\'m looking to see if there is a way to upload the resulted assemblies to some remote folder using an FTP task.

6条回答
  •  不知归路
    2021-02-06 01:21

    Having the same need myself, I developed a basic FTP upload NAnt task. You can find it here: https://sourceforge.net/projects/w3c-nant/

    Example usage (copy pasted from the site's API docs):

    
        
            
            
        
    
    

    I already use it in my local build scripts to upload my site to its live server.

提交回复
热议问题