1. Richard Albrecht
  2. Valentina Reports ADK
  3. Пятница, Август 23 2019, 07:56 PM
  4.  Подписаться через email
I have a question. I'm trying to deploy to Xojo cloud an app that uses the adk. In the current server the Libs Directory has 4 symbolic links that point to like named files, like:

libvclient_release_x86.so.751 has a symbolic link libvclient_release_x86.so

It is imposible to copy a symbolic link via ftp. I'm wondering if I copied libvclient_release_x86.so.751 and named it libvclient_release_x86.so if that would work????

Any ideas?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Richard,

No, it is necessary to have both file names, with version and without it.

Do you have terminal/ssh access?
If you have - you can compress app and transfer links in the archive, then use unzip archive.zip command in the terminal.

Or just recreate them using
ln command like here:
ln -s libvclient_release.so.762 libvclient_release.so
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
So copying wouldn't work. Have no SSH access. I did it the way you said on our current server.

Xojo cloud is a lot tighter.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
If you have the same file twice - libvclient_release_x86.so.751 and libvclient_release_x86.so instead of the symlink - it should work.

But looks like Xojo cloud supports SFTP access.
For example, you can do it from the macOS terminal:

sftp user@host
cd /app_folder
symlink libvclient_release_x86.so.751 libvclient_release_x86.so
symlink libvkernel_release_x86.so.751 libvkernel_release_x86.so
symlink libvshared_release_x86.so.751 libvshared_release_x86.so
symlink libvreport_release_x86.so.751 libvreport_release_x86.so
bye
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
I didn't know you could do that with ftp.

So thats the command: symlink libvreport_release_x86.so.751 libvreport_release_x86.so

Then whats this:

ln -s libvclient_release.so.762 libvclient_release.so
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
I duplicated each file and renamed it and it seems to work. I will test further on Monday.:D
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Yes, it should work, just not optimal.

With SFTP protocol it's possible.

"ln -s" - this command is for terminal/SSH
"symlink" - is for SFTP
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
Apparently my SFTP account won't let me.

Is there a possible problem that can happen due to my solution of copying the files?

It seems to be working 100% fine.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
No problem at all.

Do you get some error running symlink command?
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories