Comments (10)
Hi, there is no direct operation for that, but you can do this by writing a script in the "Execute code" operation that does this for you. The only problem is that there is currently no way to create custom files on the file system with specified contents. So you would need to put this file in a specific subfolder, e.g. update_data
, let nUpdate extract it and then add the code operation that reads the new file from this subdirectory in your application's folder, compares it to the existing id.json
file and merges them together.
Delta patching as default will be implemented in the future.
from nupdate.
Thank you, I will implement nUpdate in my project and give it a try. I appreciate that you're still keeping this project up to date. Great work!
from nupdate.
On another note: I've implemented nUpdate to my project, and have downloaded the Adminsitration tool to set it up.
I've successfully given it access to the FTP. It was able to create the updates.json but fails to write to it.
I am currently using a InfinityFree to host the file on a website. This may not be the best place to ask, but its worth a try. Its been a headscratcher so far.
The error message:
HTTP(S)-access of configuration file failed.
The configuration file was found on the FTP-server but it couldn't be accessed via HTTP(S). Unexpected character encountered while parsing value: <. Path ", line 0, position 0.
I've tried changing the permissions through Filezilla, but that didn't do much. Also couldn't find much information about this in the readme.md or wiki here on github.
Last time i used nUpdate i was doing all of this through a VPS, this time i don't have access to the Apache configs. Hopefully we can sort this out.
from nupdate.
I am doing my best, but I don't work on this too much in my free time, unfortunately.
That's pretty annoying. So the message says that the file can be created, but the HTTP-GET request fails. Is the file empty or does it have some content? Reading <
seems a bit odd to me. Probably this is because the server returns some config or predefined response in XML-format or anything. Can you access the file regularly in the browser?
from nupdate.
I am baffled by your quick replies!
The updates.json is completely empty. Yes, I am able to access it through the webpage.
I've decided to test out another webhost, I have a strong feeling it has something to do with the HTTP Authentication. That is not set up for the nUpdate project, as i don't really know (or remember) what to put there.
from nupdate.
The file is always empty after first creation, so that is normal. Probably the response from the server is just incorrect.
The HTTP Authentication fields provide a way to specify BasicAuth credentials. Unless you have them set up, you can leave those empty.
The error message contains a bit too less information, unfortunately. It should show the complete server response or log it at least to see what the server responds with. If you tried another host, let me know.
from nupdate.
Hi.
I moved to another webhost, and now i am able to upload packages via nUpdate, I've gotten further this time but i am getting an error when I am in my application and it is attempting to update.
See image, that's what it looks like before updating.
The error translates into:
Path may contain an empty string or just a space.
Where could this be exactly? I tried renaming my application to a name without any spaces. The link path where it is located does not have any spaces either.
EDIT: The application files are located at "C:\Users\Kriss\Desktop\v3"
from nupdate.
Hi,
can you maybe give me the full stracktrace by right clicking on the message and click "Copy entire message"?
from nupdate.
Hi.
I ended up making an autoupdater from scratch, that way i could have full control of what's happening.
I'll close this issue as its no longer needed.
from nupdate.
I ended up with the same problem. This is the full stacktrace:
System.ArgumentException: Der Pfad darf keine leere Zeichenfolge sein oder nur aus Leerzeichen bestehen.
bei System.IO.Directory.CreateDirectory(String path)
bei nUpdate.UpdateInstaller.Updater.CopyDirectoryRecursively(String sourceDirName, String destDirName)
from nupdate.
Related Issues (20)
- Updater doesnt work (Path may contain an empty string or just a space.) HOT 5
- Update window style issue HOT 1
- Errors uploading package, deleting package, checking configuration file HOT 19
- "update.json" file is inaccessible
- ios
- Can I use this project in my c++ project? HOT 1
- Thanks for reaching out!
- nUpdate Administration: Operations not responsive HOT 2
- Provide a usage example directly inside readme HOT 1
- is this project still alive? HOT 2
- Software is already up-to-date HOT 5
- Question: Invalid signature data found HOT 8
- SFTP Support HOT 2
- Agenda HOT 1
- Using no user interface HOT 1
- Problems reading the "updates.json" from ftp HOT 5
- Opens program after successful update HOT 2
- Please make a youtube tutorail how to use nUpdater #feature
- Sign "nUpdateInstaller" with a Certificate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nupdate.