Giter Club home page Giter Club logo

Comments (16)

makaronak avatar makaronak commented on August 28, 2024

windows server 2016 client error too

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

Which function are you using? DownloadFile? Which function do you get the timeout on?

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

Unless you reply its impossible to fix this.

from fluentftp.

pbindy avatar pbindy commented on August 28, 2024

Hi,

I've just had this issue with the DeleteDirectory command.

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

@pbindy Can you share more details. Are there any files/folders in the dir you are trying to delete? Which server are you using? Azure has problems with timeouts...

from fluentftp.

pbindy avatar pbindy commented on August 28, 2024

Hi,

here is my code
if (FtpClient.DirectoryExists(folderPath)) FtpClient.DeleteDirectory(folderPath, true, true);

The folder has files in it, around 15.

I'm trying to transfer from a PC with Windows 10 to a coffee machine with Windows CE installed.

This issue is not reproducible every time. I had the issue twice in a row and then nothing.

What I did to fix it, I make sure that the folder is empty (delete all files in it) before calling DeleteDirectory.

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

I see you are using the older version of FluentFTP. Can you upgrade to latest on nuget and check if it works for you? Because DeleteDirectory() has totally changed in that time...

from fluentftp.

pbindy avatar pbindy commented on August 28, 2024

Ok I'll update to the latest version but there is definitely something happening with this DeleteDirectory method. (see #99 )

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

You don't need to delete the files in it first. Just call DeleteDirectory and see if its working good. Because we have switched to LIST command instead of machine listings and we are getting all files recursively, then deleting those files, then deleting the folder last. You should not have any problems.

from fluentftp.

pbindy avatar pbindy commented on August 28, 2024

I'll check it once again but I need to make a lot of testing before putting it in Production because it has to work 100% of the time.

from fluentftp.

gjhdigital avatar gjhdigital commented on August 28, 2024

I realized this just got closed 4 hours ago, But I just ran into this issue today. I updated to the latest version v17.3.0 and I am still getting this error message when attempting to us FTPS using the code provided here: https://github.com/hgupta9/FluentFTP#faq_ftps

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

@gjhdigital Okay, issue reopened. Which FTP server/OS are you using? or which host?

from fluentftp.

gjhdigital avatar gjhdigital commented on August 28, 2024

nevermind, wrong protocol.

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

@gjhdigital What was the solution so others can know?

from fluentftp.

gjhdigital avatar gjhdigital commented on August 28, 2024

I was told the connection was FTPS when it was actually SFTP. So I ended up using the recommended SSH.NET package. Im using FluentFTP for another project and it works flawlessly for that.

from fluentftp.

robinrodricks avatar robinrodricks commented on August 28, 2024

@gjhdigital Excellent, thank you.

from fluentftp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.