Bit lost on FTP and HTTP linking TS219P II

Post your questions about myQNAPcloud service here.
User avatar
schumaku
Guru
Posts: 43667
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Bit lost on FTP and HTTP linking TS219P II

Post by schumaku » Sat Nov 07, 2015 1:30 am

fmzip wrote:the admin password doesn't work via putty. As I mentioned, I used the same admin password as I have setup with the NAS, I also tried the default "admin" password, that doesn't work either
If using characters off the lower seven bit ASCII character set you need to ensure the terminal emulator is configured to UTF-8. For PuTTY -> Windows - Translation

fmzip wrote:Moving on to further issues, I tried creating a new "shared folder" called Share with guest right access to read only, "no password required". (I also tried creating a different folder with same credentials) If I try to access the newly created shared folder directly via FTP, it requires a log in. If I log in via my admin credentials, I have full access to it. Same if I access that directory via file manager with the QNAP interface, full access.
No idea why you want a shared folder permitting guest FTP access ... and even FTP requires a password - always, kind of: Permitting you enable anonymous access on the FTP server, you still have to provide "something" - but again, for what you want to achive, don't enable anonymous access.

fmzip wrote:However, if I access the newly created Share directory in Windows with any user with admin rights other than admin, I can access the top directory, but I get accessed denied if I try to create a sub folder etc. I've tried to refresh the sub folder rules, that doesn't provide any different result. All my other directories I created moons ago I can still access freely via windows. This goes the same for the File Manager QNAP interface, even though I am an admin, I don't seem to have full admin rights when I create something new
Now you are becoming completely confusing.... Can't be difficult to check the access rights in place for the currently existing shared folders, and implement the same. Get a screenshot, and post details...

Forget Public share (completely unrelated), forget FTP (unless you really want to access your NAS from the wild Internet or form work to upload new data to be included in blog or other posts) as you have shared folder access from Windows Explorer, OS X Finder, ...

But then again, you already have the NAS Web Server shared folder - this is where you create new folder(s) and put the files to - as explained in brief before.

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 2:01 am

schumaku wrote:Don't know where this discussion is going to...

The NAS has a file share feature, which does unfortunately not work as a direct link for media inclusion - we've asked several times to make this properly.

On the other hand, the NAS has a simple Web Server, when it's enabled, you can put files on the Web shared folder, say under a folder linking, upload image.jpg ... and now you can reference it it as http://fakeabcdefg.gotdns.com/linking/image.jpg and include it here like

Code: Select all

[img]http://fakeabcdefg".gotdns.com/linking/image.jpg[/img]


No need for the Public shared folder (note: uppercase).


This is EXACTLY what I am looking to do! That is ALL I am trying to do.....

Any details on how to accomplish this? Under" web server" it says it's enabled and the directory for publishing is Qweb. As the access rights to Qweb want a log in, do I simply create a sub folder under qweb that doesn't require a login? Say the sub folder is called share, and the file in that sub folder is called file.jpg would my link be http://fakeabcdefg".gotdns.com/share/file.jpg? I tired doing just this but the sub folder requires a login even though I stated it doesn't

Image

And the reason I am using an FTP program is that that simple right clicking on the upload file provides me with a copied hyperlink instead of having to manually type every link I create......
Last edited by fmzip on Sat Nov 07, 2015 2:28 am, edited 1 time in total.

User avatar
pwilson
Guru
Posts: 22582
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Bit lost on FTP and HTTP linking TS219P II

Post by pwilson » Sat Nov 07, 2015 2:26 am

fmzip wrote:
schumaku wrote:Don't know where this discussion is going to...

The NAS has a file share feature, which does unfortunately not work as a direct link for media inclusion - we've asked several times to make this properly.

On the other hand, the NAS has a simple Web Server, when it's enabled, you can put files on the Web shared folder, say under a folder linking, upload image.jpg ... and now you can reference it it as http://fakeabcdefg.gotdns.com/linking/image.jpg and include it here like

Code: Select all

[img]http://fakeabcdefg".gotdns.com/linking/image.jpg[/img]


No need for the Public shared folder (note: uppercase).


This is EXACTLY what I am looking to do! That is ALL I am trying to do.....

Any details on how to accomplish this? Under" web server" it says it's enabled and the directory for publishing is Qweb. As the access rights to Qweb want a log in, do I simply create a sub folder under qweb that doesn't require a login? Say the sub folder is called share, and the file in that sub folder is called file.jpg would my link be http://fakeabcdefg".gotdns.com/share/file.jpg? I tired doing just this but the sub folder requires a login even though I stated it doesn't

Image


So place your file in Qweb. Remote users can then access it at "http://XXXXXX.myqnapcloud.com/filename.ext".

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 2:29 am

^^^^^^^ The file is IN the qweb directory, when I link to it, the link requires a password and username.............

Image

Image

Image

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 3:29 am

[quote="fmzip"]^^^^^^^ The file is IN the qweb directory, when I link to it, the link requires a password and username.............

Image



I answered my own question......
the correct link open access link is http://fakeabcdefg.gotdns.com/linking/image.jpg

It is not http://fakeabcdefg.gotdns.com/QWEB/linking/image.jpg

Once QWEB is in the adress line it requires a username and password!


Thanks for all the help. Looking forward to file hosting myself from here on out!

User avatar
pwilson
Guru
Posts: 22582
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Bit lost on FTP and HTTP linking TS219P II

Post by pwilson » Sat Nov 07, 2015 4:16 am

fmzip wrote:
fmzip wrote:^^^^^^^ The file is IN the qweb directory, when I link to it, the link requires a password and username.............

Image



I answered my own question......
the correct link open access link is http://fakeabcdefg.gotdns.com/linking/image.jpg

It is not http://fakeabcdefg.gotdns.com/QWEB/linking/image.jpg

Once QWEB is in the adress line it requires a username and password!


Thanks for all the help. Looking forward to file hosting myself from here on out!


You should be able to view your image at: http://fakeabcdefg.gotdns.com/Internet/avatar.jpg without a password.

As long the permissions on /share/Qweb/Internet permit the "httpdusr" to access this directory & file, and as long as you do not have a ".htaccess" file at "/share/Qweb/Internet/.htaccess" which restricts access to it.

If you would simply put your "avatar.jpg" file in your QWeb folder, as I suggested already, you could access it at: http://fakeabcdefg.gotdns.com/avatar.jpg (also without a password).
Last edited by pwilson on Sat Nov 07, 2015 4:23 am, edited 1 time in total.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 4:22 am

pwilson wrote:You should be able to view your image at: http://fakeabcdefg.gotdns.com/Internet/avatar.jpg without a password.


Yes, thanks for the help

The reason I don't want to put files in the root of the qweb directory is for organizational purposes :)

User avatar
pwilson
Guru
Posts: 22582
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Bit lost on FTP and HTTP linking TS219P II

Post by pwilson » Sat Nov 07, 2015 4:29 am

fmzip wrote:
pwilson wrote:You should be able to view your image at: http://fakeabcdefg.gotdns.com/Internet/avatar.jpg without a password.


Yes, thanks for the help

The reason I don't want to put files in the root of the qweb directory is for organizational purposes :)


Fair enough.

BTW, you are asking about a TS-219P II, but your Forum profile claims a "TS-109/209 Pro II" rather than a "TS-x19 II". This could cause well-meaning people to provide information for the wrong NAS model. Please consider updating your Forum Profile to accurately reflect your NAS model.

Even if you actually own a "TS-109/209 Pro II" in addition to your "TS-219P II", I would still recommend changing it, as the TS-x09 series aren't really supported anymore anyway.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

User avatar
schumaku
Guru
Posts: 43667
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Bit lost on FTP and HTTP linking TS219P II

Post by schumaku » Sat Nov 07, 2015 5:21 am

fmzip wrote:^^^^^^^ The file is IN the qweb directory, when I link to it, the link requires a password and username.............
Been away for a few hours. Glad you managed it to work - cool!

There is a crack in everything ... this is where the light comes in. (Leonard Cohen). Let's make some light on this :ubergeek: Sorry, I has not expected that your NAS has that long history and is still on the "classic" QNAP shared folder names - thus I created soem confusion, talking of the /Web share and find it's /Qweb now.

Appears you have - intended or not, I don't know - the DAV resp. WebDAV service enabled on the Web Server. The reason the browser does throw an authentication request (the "Authorization Required" which can not work here, but let's out this aside) is _because_ there is a shared folder named Qweb ... thus accessing the /Qweb on the Web Server is effectively the WebDAV service, which is co-locate on the primary Web service. A WebDAV client (i.e. in Windows Explorer*, OS X Finder, or third party applications) can deal with this. [*except of the fact that Windows does require a valid certificate when using https]

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 5:29 am

pwilson wrote:BTW, you are asking about a TS-219P II, but your Forum profile claims a "TS-109/209 Pro II" rather than a "TS-x19 II". This could cause well-meaning people to provide information for the wrong NAS model. Please consider updating your Forum Profile to accurately reflect your NAS model.

Even if you actually own a "TS-109/209 Pro II" in addition to your "TS-219P II", I would still recommend changing it, as the TS-x09 series aren't really supported anymore anyway.


Changed my profile accordingly and yes, I do have both. The old one does the replication :)

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Sat Nov 07, 2015 5:31 am

schumaku wrote:
fmzip wrote:^^^^^^^ The file is IN the qweb directory, when I link to it, the link requires a password and username.............
Been away for a few hours. Glad you managed it to work - cool!


Thanks for your help, that made everything much simpler. Now all I need is for Comcast to send me all my files and resumbit correct hyperlinks to many a useful thread I've contributed across the internet! That shouldn't be TOO time consuming ;)

fmzip
Starting out
Posts: 33
Joined: Sat Sep 19, 2009 9:19 am

Re: Bit lost on FTP and HTTP linking TS219P II

Post by fmzip » Fri Mar 15, 2019 12:38 pm

Bumping my old thread for help.

I am now on firmware 4.3.3.0789

I had to do a system reboot and I can no longer access my qweb directory.

Here was a valid link before the reboot:

http://thetechhouse.myqnapcloud.com/~fm ... tfarms.jpg

I restored all my shares, granted public guest access to the qweb directory and applied it to all subfolders.

I enabled webserver , post set to 80, enable secure connection is unchecked

I checked the box on "enable virtual host" am I then to create a virtual host as well? Do I name it "thetechhouse" folder name /qweb and if so, what port then?

On the qnapcloud page, the device name is thetechhouse and I have it set to public. Is this necessary for qweb or can I have it set to private?

What am I missing here? Please help. need to call it quits after 4 hours!

Post Reply

Return to “myQNAPcloud service”