Upload file to FTP site using VB.NET

后端 未结 6 1584
夕颜
夕颜 2020-12-09 11:25

I have this working code from this link, to upload a file to an ftp site:

\' set up request...
Dim clsRequest As System.Net.FtpWebRequest = _
    DirectCast(         


        
6条回答
  •  既然无缘
    2020-12-09 12:21

    Looking at the MSDN documentation this maps to the FTP STOR command. Looking at the definition for the FTP STOR command it will overwrite existing files, if the user has permissions.

    So in this case, yes the file would be overwritten.

提交回复
热议问题