Questions tagged [fluentftp]

For questions about the FluentFTP library for .NET.

GitHub repo: https://github.com/robinrodricks/FluentFTP

62 questions
1
vote
1 answer

c# - vsftpd and FluentFTP - how automatic file checking with "Ftp.Gethash("FileName")

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…
Eva exe
  • 87
  • 6
1
vote
0 answers

FTP Server Connection issue via Azure function app using App Service Plan

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…
1
vote
0 answers

"No such host is known" FluentFTP error when app is running as a Windows Task

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…
Dmytro
  • 16,668
  • 27
  • 80
  • 130
1
vote
0 answers

C# FluentFTP Connection error - FTPS Windows 7

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. …
Bastien Cuenot
  • 117
  • 1
  • 1
  • 9
1
vote
3 answers

Azure function to copy files from FTP to blob storage using FluentFTP

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…
Ahmed Essam
  • 69
  • 3
  • 13
1
vote
0 answers

FluentFTP connection works on local machine but not on Windows 2019 server

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…
Yous0147
  • 301
  • 3
  • 10
1
vote
1 answer

Fluent ftp get latest files and download

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…
david
  • 87
  • 1
  • 9
1
vote
1 answer

FluentFTP not working in SSIS failed to load the FluentFTPDLL

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…
Vijai Maurya
  • 101
  • 1
  • 1
  • 8
0
votes
0 answers

How do I select a specific SSL certificate in FluentFTP?

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…
ilens
  • 1
  • 1
0
votes
0 answers

How to upload image to ftp server after resizing by ImageSharp .NET Core

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…
0
votes
0 answers

FluentFtp validate server cert against fingerprint

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…
Hecatonchires
  • 1,009
  • 4
  • 13
  • 42
0
votes
0 answers

FluentFTP throws timout exceptions on friends pc

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…
X3oWyR
  • 1
  • 1
  • 2
0
votes
0 answers

Best practices to add FluentFTP to IServiceCollection in .NET 6

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…
0
votes
1 answer

FluentFTP has old dependency to Microsoft.Extensions.Logging.Abstractions

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…
Presi
  • 806
  • 10
  • 26
0
votes
0 answers

c# FluentFTP Nuget Package unable to set chmod on uploaded files

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…