Answer the question
In order to leave comments, you need to log in
How to put a file on FTP with a C# program?
There is a code that saves an excel file to a directory with an executable. I have not studied C# before, but at work I need to edit this code so that it saves this file on the FTP server. The server has a login but no password. Can someone fix this line so that it saves the file properly? Let the FTP address be 192.168.0.1, and the login Test.
var fileName = System.Windows.Forms.Application.StartupPath + $"\\Results {name} {DateTime.Now.ToString("yyyy.MM.dd_HH.mm")}.xlsx";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question