access UNC share in windows azure - unc

i would like to know if its possible to share a folder from the windows azure vm and then access that folder from my home pc by typing
\\server-address\shard folder
. i understand that shared folders may not be the best idea for over the internet file sharing but this what fits my needs best . im not worried about security or anything other than being able to get to the shared by typing
\\server-address\shard folder
is this possible ? if so how ?
Thank you .

Related

Chrome extension/app write and read from local directory without user interaction

I'm developing a management app and extension and what I need to do now is manage a local directory in Chrome OS. I will download/edit/remove by server.
I've tried to use API localStorage, but it prompts the user to select directory.
I've also tried the downloads API, I can download the files and delete them, but I can't edit or see what's in the directory.
Is there any other way I can do it?
Thanks
The user needs to select the directory once and you need to have {"fileSystem":["write","directory","retainEntries"]} permission in the manifest. The directory only needs to be selected once. There is no workaround for this.

Change WAMP MySQL Data Location not working

I am running WAMP off of a Google Drive folder, which is working fine on my home computer. But when I try to access it from my work computer that I have synced with Google Drive, I run into problems. I'm trying to change the MySQL Data location to the location on the Google Drive folder. I looked at the solution on these pages:
How to change mysql database directory on WAMP
Change of MySQL database location not working
But it didn't do the trick. MySQL is still looking at the data location on my work computer and not at the one on the Google Drive folder.
Thanks in advance for the help.
The default WAMP Server is not meant to be a portable application.
But a portable application is what you want.
I'd check out the following portable WAMP solutions:
http://www.uniformserver.com/
http://www.uwamp.com/en/
http://zwamp.sourceforge.net/
They will better suit your needs!
I'd install one to the Google Drive and transfer all your projects to it.
Then you will never ever have to worry about something like this coming up.

Can html5 be used front end for an ftp server?

quick question to day. I've done a little digging around on the net and i can't really find a very definitive answer.
Basically, I run my own server on a redundant dual core, 4gb ram 2Tb pc (server1)
And on here, i would like to make an FTP partition. Reason being, i would very much like to be able to transfer files back and forth work, uni and home as i please.
I also run a website from my server which allows me to stream media from my hard drive to any laptop, tablet, desktop, iphone, android.. you name it!
I would LIKE to be able to add a section on my website where by I can log in and access my files as a sort of HTMF5 Front end.
I am aware and know how to create a login with a database which has md5 hash and store cookies to stop un-authorised people accessing my ftp.
Any help or a shove in the right direction would be much appreciated! Thanks in advance :D
Yes it's possible. but that won't be HTML5 ftp server etc that you mentioned.
You can achieve this by installing a web server on your machine like apache and then make directories public - run Apache on some port and you will be able to access the directory. if your server is running on port 8080, URL will be like: domain.com:8080 - You can style directory using this simple script & make this password protected as well using .htaccess .
osFileManager
The other option is to use some php script. Many commercial scripts are available and as well as open source. i recommend you trying osFileManager - it has a lot of features like:
Browse the directory structure
Create files
Upload files
Rename files
Move files
Delete files
Edit files
Change permissions
Change password
Create users
Here is it's installation instructions: http://www.osfilemanager.com/osfilemanager-docs.html
or a paid HTML5 & AJAX based script can be bought for 14$ from here:
http://codecanyon.net/item/file-manager-and-backup-system/5177206

viewing a local pdf file in google chrome packaged apps

In my packaged app I would like to open pdf's stored in local filesystem. I've managed to open them if I select them using chrome.fileSystem.chooseEntry, but I can't find a way to do the same if the filesnames are hard coded.
The idea behind is an app that manages book information and allows to open them if they are stored in the local filesystem. Thanks a lot!
This can't be done, for good reason. Packaged apps have a security model based on the open web. Web pages can't access your local files without your permission (i.e., without a "user gesture" or a specific user action such as going through a file chooser), and packaged apps have the same restriction.
You could import local files (again using a user gesture) into the HTML5 file system, or into chrome.syncFileSystem. Then you'd have gestureless access to the imported copies. Likewise, you could export from either of those file systems to the local file system, again with a user gesture. But the boundary between local files and your app's access to them is meant to be loud and explicit.

Air: Write to application storage directory during installation?

I'm writing an Adobe Air HTML app. I want to write to the application storage directory during installation, and thought you could point me in the right direction.
I've got a set of example "profiles" (text files) to include with our application. I would like to put the examples into Application Storage (or Document Storage), since the user is free to delete them, modify them, etc. Also, I don't want to re-write the files during Updates, only an initial installation.
But as far as I can figure out, the installer only writes to the application directory. Is there a simple command line change to ADT to send files to the application storage directory?
Here's my thought so far for a workaround:
Include the files in the application directory "Examples"
On startup, check if the "Examples" folder is in the Application Storage/Document Storage directory
If it doesn't exist, copy app:/Examples folder into the Application Storage/Document storage directory
But it would be a lot easier if this was part of the installer. Let me know if any other information would be helpful. Thanks!
There isn't any way to customize the normal AIR installer. Your workaround is the way to do it.