One-time file sharing

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

One-time file sharing

Postby kumpa » Tue Jan 17, 2012 4:47 pm

Hi all,

there is one think I always wanted to know how to perform. Sometimes I need to share one single file (e.g. zip archive) and the simplest way should be to provide the recipient with an URI which contains some kind of unique identifier to get a file without the need to provide my recipient with, e.g. FTP account. My idea was that it would be nice, for example, to right-click on a file to get a unique URI from the context menu. Is this possibility included in DSM 4.0 or is there any workarounds with this kind of functionality?

Thanks for any advices!

--kumpa
kumpa
Trainee
Trainee
 
Posts: 13
Joined: Wed Jul 27, 2011 7:22 am

Re: One-time file sharing

Postby HarryPotter » Tue Jan 17, 2012 4:50 pm

Yes DSM 4.0 offers this possibility. And you can configure how long the link should be valid (starting from 1 day).
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: One-time file sharing

Postby dabruna » Sat Apr 07, 2012 12:47 pm

Yes DSM 4.0 offers this possibility ... but with a bug !
I tried to right click a file from File Station but obtained i.e.
http://192.168.1.128:5000/fbsharing/sVCLvT2H
that is not a good link from outside internet connection.
So how to procede to have the correct "external" ip ?
User avatar
dabruna
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Mar 27, 2012 5:21 am

Re: One-time file sharing

Postby HarryPotter » Sat Apr 07, 2012 1:10 pm

Connect with the external IP (or DynDNS name) to your DSM and the link will be created with it. Or manualy adjust it.
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: One-time file sharing

Postby dabruna » Sat Apr 07, 2012 1:20 pm

Computer work to help people.
Not people work to help computers ....
Fix DSM !
User avatar
dabruna
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Mar 27, 2012 5:21 am

Re: One-time file sharing

Postby humbfig » Sun Apr 15, 2012 3:46 pm

dabruna wrote:Computer work to help people.
Not people work to help computers ....
Fix DSM !


Actually, I think that if you have configured a dynamic DNS account on the DS, the link you get comes with the external IP. That's "computer working for you". If you have not yet configured a dynamic account on the DS, what you want is "magic working for you", because there's no way for the DS to know what your external IP is.
This is "people working to help people".
humbfig
Versed
Versed
 
Posts: 221
Joined: Fri Nov 25, 2011 10:48 pm

Re: One-time file sharing

Postby dabruna » Mon Apr 16, 2012 12:34 pm

I did not have configured any dynamic IP (but I'm curious: how to do ?).
As I have a static IP, like a workaround to share a file with a working link,
I discovered the DDNS solution in ezCloud and registered to Synology service.
This also to say you are wrong "because there's no way for the DS to know what your external IP is"
as in that service Synology DS212J knows very well what is the correct external link.

Image

After that from File Station with right click, one can create the correct single file link to be shared with external people.

"This is "people working to help people"", like me ...
User avatar
dabruna
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Mar 27, 2012 5:21 am

Re: One-time file sharing

Postby myCloud » Mon Apr 16, 2012 1:44 pm

Interesting. I have DDNS configured in EZ Cloud (to dyndns.org) and it updates regularly, but when I right-click on a file in File Station to get a link, it only gives me the local path with no IP address or FQDN. What am I doing wrong? Or is this something that only works with Synology's DDNS?
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: One-time file sharing

Postby dabruna » Mon Apr 16, 2012 2:52 pm

I don't know.
My situation is that I have a static IP and you probably a dinamic IP.
Try register also with Synology DDNS service and let us know if this way works.
Ciao
User avatar
dabruna
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Mar 27, 2012 5:21 am

Re: One-time file sharing

Postby humbfig » Mon Apr 16, 2012 3:04 pm

dabruna wrote:I did not have configured any dynamic IP (but I'm curious: how to do ?).
As I have a static IP, like a workaround to share a file with a working link,
I discovered the DDNS solution in ezCloud and registered to Synology service.
This also to say you are wrong "because there's no way for the DS to know what your external IP is"
as in that service Synology DS212J knows very well what is the correct external link.

After that from File Station with right click, one can create the correct single file link to be shared with external people.

"This is "people working to help people"", like me ...


I said "dynamic DNS account", it's what you discovered and called DDNS.
That's why NOW your DS knows what your external IP is. Before, like I said, there was no way for the DS to know your external IP.

This thread is modified by Moderator considering the use of language
humbfig
Versed
Versed
 
Posts: 221
Joined: Fri Nov 25, 2011 10:48 pm

Re: One-time file sharing

Postby dabruna » Mon Apr 16, 2012 4:17 pm

Hi professor ... Someone was wrong ?
Sorry I did not read your lesson on acronism well, sorry very very much ...

I appreciate a lot people instead of giving thanks to other who try to
solve some problem, loose time to give them such compliments ...
Have a nice day the same !
User avatar
dabruna
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Mar 27, 2012 5:21 am

Re: One-time file sharing

Postby humbfig » Mon Apr 16, 2012 5:28 pm

dabruna wrote:
Hi professor ... Someone was wrong ?
Sorry I did not read your lesson on acronism well, sorry very very much ...

I appreciate a lot people instead of giving thanks to other who try to
solve some problem, loose time to give them such compliments ...
Have a nice day the same !


I appreciate people who, instead of thanking others for solving their problems (if they could read), waste their time being sarcastic, when in fact they get it all wrong.
humbfig
Versed
Versed
 
Posts: 221
Joined: Fri Nov 25, 2011 10:48 pm

Re: One-time file sharing

Postby norcat » Mon Apr 16, 2012 8:29 pm

myCloud wrote:Interesting. I have DDNS configured in EZ Cloud (to dyndns.org) and it updates regularly, but when I right-click on a file in File Station to get a link, it only gives me the local path with no IP address or FQDN. What am I doing wrong? Or is this something that only works with Synology's DDNS?

Not sure where you're clicking. I have DDNS as well (Synology), and no matter how I'm logged in (local IP, local server name, remote ddsn name), when I use the 'Share File Links' feature in File Station (from context menu or Action menu) the remote FQDN is always presented to me. The urls are like this where the last part is a generated share name for the file:
http://ddns-name:5000/fbsharing/JGF4RMED

Existing file links can be administered from Tools menu 'Shared Links Manager'.

I can see there is also another way of sharing file links, using context menu on file and select Properties I see a 'Download Link' which has a slightly different form, for example:
http://ddns-name:5000/fbdownload/109018244750929.jpg?dlink=2f62696c6465722f3130393031383234343735303932392e6a7067

This also always shows the ddns-name for me, but it works differently in that I have to log in to use that file, and there is no time management.
DS111 (DSM 4.2) and DS109 (DSM 4.2), both connected to gigabit ethernet and wireless lan.
norcat
Sharp
Sharp
 
Posts: 187
Joined: Sat Oct 29, 2011 2:31 am

Re: One-time file sharing

Postby myCloud » Tue Apr 17, 2012 2:12 am

dabruna wrote:I don't know.
My situation is that I have a static IP and you probably a dinamic IP.
Try register also with Synology DDNS service and let us know if this way works.
Ciao


Thanks. Using a Synology DDNS didn't do it.
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: One-time file sharing

Postby myCloud » Tue Apr 17, 2012 2:20 am

norcat wrote:Not sure where you're clicking. I have DDNS as well (Synology), and no matter how I'm logged in (local IP, local server name, remote ddsn name), when I use the 'Share File Links' feature in File Station (from context menu or Action menu) the remote FQDN is always presented to me. The urls are like this where the last part is a generated share name for the file:
http://ddns-name:5000/fbsharing/JGF4RMED

Existing file links can be administered from Tools menu 'Shared Links Manager'.


The problem was pilot-error. I stopped at the window with the file path and didn't click the Share button. It works with both DynDNS and Synology. Mea culpa.

norcat wrote:I can see there is also another way of sharing file links, using context menu on file and select Properties I see a 'Download Link' which has a slightly different form, for example:
http://ddns-name:5000/fbdownload/109018244750929.jpg?dlink=2f62696c6465722f3130393031383234343735303932392e6a7067

This also always shows the ddns-name for me, but it works differently in that I have to log in to use that file, and there is no time management.


That's also great info.

Thanks so much for taking the time to provide such a thorough reply!
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Next

Return to File Sharing: Windows, Mac OS X, Linux

Who is online

Users browsing this forum: No registered users and 1 guest