Programming question in C#
OS : Debian 9
FTP server : vsftpd
Dll : FluentFtp
FluentFTP provides many methods for verify file integrity by hash without downloading it, for example:
GetHash() - Gets the hash of an object on the server using the…
I have an Azure Functions app that uses the code below to connect to FTP server. However, I got error connecting to the server.
The error only happens when the app is hosted on Azure Functions, and works locally on my local machine.
The error is…
I have a pretty straight forward piece of code to upload some data to the ftp using C# and FluentFTP.
_client = new FtpClient(host);
_client.Credentials = new NetworkCredential(user, password);
await _client.UploadAsync(file, path);
where host is a…
I try to establish a FTPS connection (explicit). On Windows 10, my program works fine, but on Windows 7 I have an error. I use the FluentFTP library in C#.
I have already tried to change the SslProtocols with Tls,Tls11,Tls12, but it doesn't work.
…
I have an FTP source that adds daily file and I need to copy the files on daily basis from FTP to blob storage using FluentFTP library in azure function
I am using C# in Azure function, and I did all the coding part but missing to download the file…
I have a C# terminal application that I've been running on my personal development pc so far. The application makes use of FTP to retrieve some files. For simple downloads of specific files through FTP I just make use of a regular…
I need to bring back the files of today which are csv files to a local directory I was using this example from fluent ftp web site but its not working its finding the /in/ directory ok and there is a test file in there but its not downloading the…
Getting following error message while executing the package.
Could not load file or assembly 'FluentFTP, Version=19.1.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f' or one of its dependencies. The system cannot find the file…
I'm connecting to a shared hosting site and the hosting company says it has a valid certificate, but I get a failure with FluentFTP. If I use Filezilla, I see a dropdown that lets me select "certificate in chain". Position 0 shows an expired…
I am using ImageSharp library in my ASP.NET Core Web API project.
I want to upload an image after resizing by ImageSharp to ftp server.
I am using fluentftp for uploading image.this is my code below
public async Task UploadImage(IFormFile…
I have a powershell script using WinScp that allows me to authenticate the server cert against a fingerprint stored as a string "a1:ec:72:18:8b:c3:dc:12:9b:77:b0:6d:f4:c1:a6:cf:db:47:8f:66:66:15:14:39:c4:62:85:a7:b2:73:f7:93"
I am attempting to…
I have C# app with FluentFTP in it. I sent it to couple of my friends and for all of them it works fine, but for one guy it throws the timeout exception. Any idea how could I fix it?
I'm using .net Framework 4.7.2. The code just logins to my web and…
I want to use FluentFTP in .NET6.
Is there best practice to add FluentFtp.FtpClient to IServiceCollection?
Is there any implementation like IHttpClientFactory & AddHttpClient?
I tried the following code. It works but not best.
Some my wrapper
public…
Currently I am developing a azure function. I use Net6.0. I have multiple imports. At least one with ftp and one with http.
So I imported both packages via nuget. But if I start my function, the following error…
I'm uploading files using FluentFTP Nuget package (UploadFile()). The ftp server is set up so that any added directories/files should inherit the parent's permissions. It does not when I use the package but if I use Filezilla it will. If I try to…