Directory Does Not Create Using IIS Server - asp.net

I am making a web application in asp.net there i am making a directory in F drive through c# code. The code runs fine on my system and in IIS also but the problem is that when my partner using the same ip of my system the directory is not being created in his system i want who ever using the ip of my system the folder should be created and files should be save on that.In the second image my partner is running the application the files get save on my directory not on his system

check your local directory it will be save there not on the system using this ip address.

Related

How to deploy Javafx desktop application with Hsqldb

I've completed a Java project with Hsqldb, the application works fine on my local machine, this is intended to be used as a standalone desktop application on the Windows platform. Please could you suggest any references/documentation on how to go about the deployment processes. Thanks in advance.
For deploying an embedded HSQLDB database, the only thing that can be different on the target is the location of the database files.
You define the directory where files are stored and it should be a writable directory. In this case, define the path and use it as an absolute path (which includes the drive name if any) to connect to HSQLDB.
You can also define the database connection URL to contain the user home directory path. This allows storing the database is a subdirectory of the user's home directory. See http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#dpc_variables_url

User's to create content and save on server

I am creating a Asp.Net Web APP, and I'm trying to figure out how I can allow users to create content and save it on a large file system in my Computer
My thought process being something like this:
User john113 creates a project: projectA
If the directory on the remote machine /serverstore/john113 does not exist, create it.
If the directory on the remote machine /serverstore/john113/projectA does not exist, create it.
john113 creates itemA in projectA and saves the item, I write the file to /serverstore/john113/projectA/itemA
How can I access this remote server , which is a windows machine, and be able to do the actions I've listed above.
Will I need some instance of Windows Server running on this remote machine, with open file permissions?

IIS MVC4 web site to serve file data on Linux machine?

I have an IIS7 server where I'm building an administrative portal. This portal is required to read and write files that exist on a Linux machine.
What do I need to do to make this happen? Do I simply need to create a virtual directory from IIS pointing to the Linux directory with a service account (application pool identity)?
Yes. Map a network drive to the linux machine and create a virtual dir pointing to the mapped drive. Make sure that proper permissions are set.

using Process.Start in an IIS Website

I have created an ASP.NET website using VB.NET. The functionality of the website generates a .bat file and saves it in a location - it then uses Process.Start(filelocation) to run the bat file.
This works fine when in debug mode on my PC - but when I have uploaded the website on to an IIS 7 server, it creates the file (proving that it has access to the area), but seemingly cannot run it?
I am assuming there is a permission issue here - Any ideas what I am missing?
Thanks
Guy
Every webapp in IIS run under a specific user. Check if that user has privileges to run applications, in particular the *.bat (in your output directory) and related *.exe files.
If you do not use impersonation, you can set the user at App pool level.
My suggestion is to create a dedicated Windows user with the right permissions and run the app pool under that user. The app pool should contains only your web application.

Access user computer or hosting server directory from sftp

I have a sftp server and I developed a interface website between users and sftp files using c#.NET and SharpSSH for download,upload file operations etc
Here is my problem: downloading a file from sftp to my computer works perfect. It copies the file to anywhere I want. But after I publish the website from a server, it doesn't work. Because I couldn't copy file to neither a directory in that server or client's computer. It isn't allowed default I think..
How can I solve to download a file from sftp to client computer issue using sharpssh?
Thanks..

Resources