neocities / neocities-ruby

The Neocities Gem - A CLI and library for using the Neocities web site API.
https://neocities.org
52 stars 14 forks source link

Pushing a symlink truncates files #27

Open parnikkapore opened 5 years ago

parnikkapore commented 5 years ago

What?

When pushing a folder with a symbolic link in it, only the first circa 60 characters are actually in the file represented by the symbolic link.

Expected behavior

The whole file which is linked to shows up in Neocities.

margaretjoanmiller commented 4 years ago

I'm having this issue as well

ghost commented 3 years ago

I think the issue is that the file size is read from the link size (the linked path), from what I was able to observe. If it truncates it to arround 60 characters, that means the linked path is arround 60 characters.

parnikkapore commented 3 years ago

Makes sense.