Upload file to FTP site using VB.NET

后端 未结 6 1586
夕颜
夕颜 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:08

    From: Link

    STOR (STORE)

    STOR

    This command causes the FTP server to accept the data transferred via the data connection and to store the data as a file at the FTP server. If the file specified in pathname exists at the server site, then its contents shall be replaced by the data being transferred. A new file is created at the FTP server if the file specified in pathname does not already exist.

提交回复
热议问题