Code Monkey home page Code Monkey logo

frends.files's People

Contributors

helvertti avatar jefim avatar rikuvirtanen avatar svenskapojkarna avatar ttossavainen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

julespaw

frends.files's Issues

Memory leak in ExecuteWriteBytes method

using (var fileStream = new FileStream(input.Path, fileMode, FileAccess.Write, FileShare.Write, 4096, useAsync: true))
{
var memoryStream = new MemoryStream(bytes);
await memoryStream.CopyToAsync(fileStream).ConfigureAwait(false);
}

var memorystream is missing using statement. This bug has been transferred from FrendsPlatform/Frends.File#19

LocalBackup bug in CreateBackup

Backup task tries to delete the backup directory if there are no file inside. But if the directory has subdirectories the task fails.

LocalBackup: Files are transfered to sub-directory, not in backup directory

Check comments too

Task will create backup folder automatically with predefined name. There has been reports that this is not a working solution, since they want to have all backups under same directory without any random sub-directories.

Basically if you define the directory as C:\tmp\archive, then the files should be at C:\tmp\archive, not in C:\tmp\archive\{timestamp}-{Guid}.

As implementation proposal the task should always save the files to the given directory. There could also be a boolean where user can select to create directory if the directory does not exist.

LocalBackup bug in cleanup

Task uses subdirectory in cleanup when the CreateSubdirectories is set and not the backup directory which is set as parameter

netstandard2.0;net4xx support possible?

Hi,

Is there some technical reason why all these tasks are net6.0 only? If you could add at least .netstandard2.0 support it would make the migration from old tasks to these the much easier. Of course if possible add net4 Framework support too.

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.