1. Richard Albrecht
  2. Valentina Reports ADK
  3. Freitag, August 23 2019, 07:56 PM
  4.  Abonnieren via E-Mail
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?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Richard Albrecht Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Richard Albrecht Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Richard Albrecht Akzeptierte Antwort
I duplicated each file and renamed it and it seems to work. I will test further on Monday.:D
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Richard Albrecht Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
No problem at all.

Do you get some error running symlink command?
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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