Can't connect to FTP: (553) File name not allowed

前端 未结 10 2068
别那么骄傲
别那么骄傲 2020-12-03 11:36

I need to FTP a file to a directory. In .Net I have to use a file on the destination folder to create a connection so I manually put Blank.dat on the server using FTP. I che

10条回答
  •  感动是毒
    2020-12-03 12:06

    I had this problem when I tried to write to the FTP site's root directory pro grammatically. When I repeated the operation manually, the FTP automatically rerouted me to a sub-directory and completed the write operation. I then changed my code to prefix the target filename with the sub-directory and the operation was successful.

提交回复
热议问题