Deploy Files Is Connecting With Remote Desktop Client And Send Files
Jun 5, 2010
i have a production server that does not have ftp access. Possible way to deploy files is connecting with remote desktop client and send files.
As you know this approach is highly hard and time inefficient.
View 4 Replies
Similar Messages:
Dec 24, 2010
I'm looking for possible ways for sending files from browser to server.
One obvious way is using form with enctype='multipart/form-data'.
I wonder if there are other ways than this.
The reason I ask you this question is this file uploader: http://aspnetajax.componentart.com/control-specific/upload/features/core_features/WebForm1.aspx
It's not flash based, but it sends the file in a way that it gives you a progress bar, but when you send a file with form with enctype='multipart/form-data' the whole file will be send to the server so you can't actually show a progress bar of uploading process.
View 2 Replies
Dec 24, 2010
I have a form with 10 file inputs. They can contain 10 random files with random sizes. If I send these files to ASP.NET server with this code:
var count = HttpContext.Current.Request.Files.Count;
var TotalSize = 0;
for (int i = 0; i < count; i++ )
{
HttpPostedFile postedFile = HttpContext.Current.Request.Files.Get(i);
TotalSize += postedFile.ContentLength;
}
And as you can see I didn't save the files on the server, will this code just calculate the summary of files without need to receive the whole file from the client (And therefore it would be very fast)?
View 1 Replies
Aug 18, 2010
I've seen many articles about dragging files INTO a browser, but none about dragging files FROM the browser to a windows application or the desktop/windows-explorer.
I'm looking for a cross-browser solution but IE8 is our main browser. If I create a link in a web page and then drag that link from the page into Microsoft Word, it inserts a link. However, if that link is pointing at a PDF document, I would like it to embed the PDF doc inside the Word doc, as if I'd dragged it from Windows Explorer, into MS Word. Is that possible?
I've even tried pointing the link at an ASP page which returns "application/pdf" data but I still just get a link in my word doc so I suspect that links are the wrong way to go.
View 1 Replies
Jan 6, 2011
Iam using a file upload control for uploading files in my asp.net application. iam using the following code to impersonate the users who do not have permission for the files to upload. The code works fine for all the files, but it is not working for the files which are in desktop.
Code in .cs file:
System.Security.Principal.WindowsImpersonationContext impersonationContext;
impersonationContext =
((System.Security.Principal.WindowsIdentity)User.Identity).Impersonate();
//Insert your code that runs under the security context of the authenticating user here.
impersonationContext.Undo();
In web.config iam using the following:
<identity impersonate="true" />
View 3 Replies
Jan 6, 2011
Iam using a file upload control for uploading files in my asp.net application. iam using the following code to impersonate the users who do not have permission for the files to upload. The code works fine for all the files, but it is not working for the files which are in desktop.
Code in .cs file:
System.Security.Principal.WindowsImpersonationContext impersonationContext;
impersonationContext =
((System.Security.Principal.WindowsIdentity)User.Identity).Impersonate();
//Insert your code that runs under the security context of the authenticating user here.
impersonationContext.Undo();
In web.config iam using the following:
<identity impersonate="true" />
View 1 Replies
May 4, 2013
How can I create Thumbnail Image For Pdf files uploaded by user .. The Thumbnail contains first Page of Pdf only.. Is it Possible through ItextSharp ?
View 1 Replies
Jun 16, 2010
I'm new @ linq and can't find anywhere where it mentions if the dbml or other files are necessary to deploy with a website.
View 2 Replies
Jun 1, 2010
Just wondering is there any drawbacks to publishing a ASP .NET web application by copying all the files in it? (That means all the .cs, .csproj files will be included in the published folder)
So far I can think that the published folder's total size may become a little bigger (but that a negligible issue for me).
View 4 Replies
Nov 29, 2010
what files are needed to deply a project?
View 1 Replies
Mar 23, 2011
I'm looking for good approch for below requirement. I would appreciate if someone can guide me on this.
I would like to write a script,
1. which checkout the latest files from SVN
2. Then compile the solution files.
3. If some compilation errors, need to send a mail.
I'm not looking for any deployment as of now.
All I want to write the script to know is, can latest version of SVN tree compile successfull or not.
View 8 Replies
Apr 9, 2010
For my *.resx files in App_GlobalResouces, what should the Build Action be? The defaults for creating a new resource file have Build Action as "Content", Copy to Output Directory as "Do not copy", and Custom Tool as "GlobalResourceProxyGenerator".
On certain servers I get an runtime error: "CS0101: The namespace 'Resources' already contains a definition..." that points to a "temporary asp.net files" folder. This makes me think that maybe I should be embedding these files so I don't have to worry about this duplicate registration. Or is my error the only real problem and keeping the physical files in the App_GlobalResouces section is fine?
View 1 Replies
Jan 14, 2011
I am working with SFTP applications also i am having one scenario. I have to search particular format files from remote machine and also need to store or copy the corresponding files into local system.
We are using user credentiaal to connect with remote machine
How could we achieve the scnenario.
View 3 Replies
Jul 15, 2010
My web service needs to open some files located on a remote computer.
From Windows I can do the authentication so I can see those files using the File Explorer.
If I try to open the files from my Web Service while it's running using Visual Studio (ASP.NET Development Server) it also works.
However, if I do everything from IIS it doesn't.In order to find out where is the problem what I did was to run a network sniffer and I found out that when using IIS, the system will try to use the account 'ASPNET' to login into those remote computers which will obviously fail.
However this doesn't happen if I run from the IDE (Using the ASP.NET Development Server)I found out that if I use Impersonation for accessing this it will work, the problem is I need to have the same account names on the computer running IIS so I would rather not to do that.
Why is it working from the ASP.NET Development Server and not from IIS? Is there a way to give full access to the ASPNET account?
View 1 Replies
Apr 16, 2010
I have around 100 rdl report files...what i have found in google is -> open RS Admin site upload each report...doing this manually takes a lot of time... We don't want to use Target report server url method and clicking deploy option to deploy the reports or report project onto the report server...because we are not provided with such production server url information...!! In client perspective...We just give the reports as a rar file...now client will have to extract the report files...and what should be the next step...!! Is there anyway to deploy or upload all the reports at a time...!!
View 1 Replies
Mar 1, 2010
I have 15 .dtsx files that were edited in SQL Server 2008 BUi and I need to deploy them all to dev server that has SQL Server 2008?
How do I go about deploying all 15 at the same time?
View 1 Replies
Feb 1, 2011
I am developing a intranet application in C#.
I am developing a application where files can be uploaded to staging area. and after saving to staging area a email confirmation is send.
After browzing for the file from local drive ,user gives a email id and click upload button ,then file should be saved to staging area. and then aconfirmation email should be sent to email id entered. we are using Exchange server to send emails.
View 2 Replies
Nov 18, 2010
We need to download multiple files from remote servers. It is a process that would take few hours to complete, since we are talking about images ~50kb each and more than 250.000 in total. Each images will downloaded, resized and then imported to SQL.DB, so we do not need to write files to the disk. Also the applications need to use network credentials, since it is behind ISA.
From your experience, what is the best method to implement this? Should we use WebClient or HttpSockets? Should we use Async methods or Threads ? How can we implement for example 5 simultaneously download to achieve better speed, since we may getting files from many different servers at once?
View 2 Replies
Jul 17, 2010
my wish is to move Files from ASP.NET Web Application(VB.NET) to remove Computer.
ive tried using a code behind, with no success..
i got en error which is "Could not find a prat of the path '\ComputerNameFolder' "
i tried instead "Computer Name" use IP address, and the same error.
(I gave All the premmission...)
i tried to create a Batch file, which is working if i run it.
but when i try to Execute it on the VB Code, i got nothing, it doesnt fire.
i tried (System.Diagnostics.Process.Start("C:File.bat"),Shell("C:File.bat") )
View 1 Replies
Sep 14, 2010
Can we upload and download files from remote servers through code without using FTP?
View 2 Replies
May 18, 2010
i have a website that accepts files from users.
the site currently save all files to a local directory (~/Data/<Date>), which can be accessed via [URL](Public server)
however to increase performance i need to save the file to a remote http host. ex [URL] (different public server)
i have ftp access to all my public server.
i'm just confused as to which is the most secure way to upload the files from codebehind.
FTP or HTTP Post.
the <date> section of the URL is dynamicall generate using Directory.CreateDirectory(Server.MapPath("<year><month><day>");
View 7 Replies
Apr 30, 2010
My web application is on a Webserver that is in a DMZ .
the web application must save on the server in LAN some files, but the webserver cannot access the file server because has no right to access. i wouldn't create an account for the web server, but i would that any time the application has to upload a file onto the file server make a connection that encapsulate credentials, then the upload starts ,finally the connection closes.
Is possible with some Objects to do this type of work?
View 1 Replies
May 7, 2015
I am having the following code which read all file names from local machine and write them in text file. I need to read File Names from Remote Server.
StreamWriter objsw = new StreamWriter("C:log.txt",true);
public void ReadAllFiles()
{
[Code].....
View 1 Replies
Mar 28, 2011
I'm using a custom ashx handler to handle a file upload. When run locally, the file uploads fine.When I use the same setup on the web server I get a "Index out of range" error.In firebug I see the binary contents of the file in the post data and the file name is also passed in the query string.Any one seen this before?I`m sure its something minor, but its driving me up the wall.
Request header:
Key Value
Request POST /Secured/UploadHandler.ashx? HTTP/1.1
Accept text/html, application/xhtml+xml, */*
Referer http://cms.webstreet.co.il/Secured/fileUpload.aspx
Accept-Language he-IL
User-Agent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Content-Type multipart/form-data; boundary=---------------------------7db13b13d1b12
Accept-Encoding gzip, deflate
[code]...
View 2 Replies
Apr 27, 2010
try to provide solution.I am developing one web application using Asp.net 3.5 and C#.net 3.5.in my application i have to read files(Flat files stored in folder) in remote server which is located at another location.how to do that.now i can read &retrieve from local area.
i have that server host address,UID and Passwrd also how to access that files from remote server.
View 2 Replies