473,395 Members | 1,383 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Upload files to UNC network path from webserver

I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet server. On the line: dirs = Directory.GetDirectories(currentDir) I get "Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied." How do I get the GetDirectories command to user my user ID and password when it tries to hit the network drive. The browser has a login where the UserID and Password are captured and stored in session variables that information is available. How do I cause GetDirectories to use that info?
If you need more information I have included the relevant HTML, VB.NET code and the Error message I get.
This is what I try:
In aspx page:
<FORM id=Form1 method=post enctype="multipart/form-data" runat="server">
<FONT face=verdana>Select File to Upload:</FONT> <INPUT
id=uploadedFile type=file name=uploadedFile runat="server">
<INPUT id=upload type=button value=Upload name=upload runat="server">
</FORM>

In code behind:
Imports System.IO
Public Class UploadPDFFiles
Inherits System.Web.UI.Page
Dim currentDir As String
Dim directorySeparatorChar As Char = Path.DirectorySeparatorChar
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Protected WithEvents dirContent As System.Web.UI.WebControls.Label
Protected WithEvents message As System.Web.UI.WebControls.Label
Protected WithEvents uploadedFile As System.Web.UI.HtmlControls.HtmlInputFile
Protected WithEvents upload As System.Web.UI.HtmlControls.HtmlInputButton
Protected WithEvents NavMenu1 As NavMenu.CustomControls.NavMenu
'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
sMenuItems = "Home;Home.aspx;Home Page|"
sMenuItems &= "Search;Search.aspx;Find an Archive Box"
sMenuItems &= "Help;Help.aspx;Help for this screen"
Navmenu1.NavMenuHeading = "Archive Tracking System"
Call InitNavMenu(NavMenu1)
' Dim root As String = "C:\Inetpub\wwwroot\ATS\PDF"
Dim root As String = "\\les-net\les\Special Projects\ATSPDF"
Dim thisPage As String = Request.Path
currentDir = Request.Params("dir")
If currentDir Is Nothing Then
currentDir = root
End If
If Not currentDir.StartsWith(root) Then
currentDir = root
End If
Dim sb As New System.Text.StringBuilder(4096)
Try
If Not currentDir.Equals(Root) Then
' not at the root
Dim currentDirParent As String
Dim lastIndex As Integer = _
currentDir.LastIndexOf(directorySeparatorChar)
If lastIndex <> -1 Then
currentDirParent = currentDir.Substring(0, lastIndex)
Else
currentDirParent = currentDir
End If
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current DirParent))
sb.Append("><img width=30 border=0 src=images/Up.gif></a><br>")
End If
sb.Append("<br><img border=0 src=images/OpenFolder.gif> ")
sb.Append("<font face=verdana>")
sb.Append(currentDir)
sb.Append("</font>")
sb.Append("<br>")
sb.Append("<table>")
sb.Append("<tr bgcolor=#D8D8D8>")
sb.Append("<td width=200><font face=verdana size=3>Name</font></td>")
sb.Append("<td><font face=verdana size=3>Type</font></td>")
sb.Append("<td><font face=verdana size=3>Size</font></td>")
sb.Append("<td><font face=verdana size=3>Modified</font></td>")
sb.Append("</tr>")
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirs() As String
dirs = Directory.GetDirectories(currentDir)
Dim d As String
For Each d In dirs
Dim dirName As String = Path.GetFileName(d)
sb.Append("<tr>")
sb.Append("<td><img src=images/Folder.gif> ")
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current Dir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(dirName))
sb.Append(">").Append(dirName).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>folder</font></td>")
sb.Append("<td> </td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(Directory.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & dirName).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirInfo As New DirectoryInfo(currentDir)
Dim files() As FileInfo
files = dirInfo.GetFiles()
Dim f As FileInfo
For Each f In files
Dim filename As String = f.Name
sb.Append("<tr>")
sb.Append("<td><img src=images/File.gif> ")
sb.Append("<a href=FileDownload.aspx?file=")
sb.Append(Server.UrlEncode(currentDir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(filename))
sb.Append(">").Append(filename).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>file</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(f.Length.ToString())
sb.Append("</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(File.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & f.Name).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
sb.Append("</table>")
dirContent.Text = sb.ToString()
End Sub
Private Sub upload_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upload.ServerClick
If Not (uploadedFile.PostedFile Is Nothing) Then
Try
Dim postedFile = uploadedFile.PostedFile
Dim filename As String = Path.GetFileName(postedFile.FileName)
Dim contentType As String = postedFile.ContentType
Dim contentLength As Integer = postedFile.ContentLength
postedFile.SaveAs(currentDir & directorySeparatorChar.ToString() & filename)
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
End If
End Sub
End Class

The error I get is this:
A system error has occurred at:
file upload

System.UnauthorizedAccessException: Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.Directory.InternalGetFileDirectoryNames( String fullPath, String userPath, Boolean file) at System.IO.Directory.InternalGetDirectories(String path, String userPath, String searchPattern) at System.IO.Directory.GetDirectories(String path, String searchPattern) at System.IO.Directory.GetDirectories(String path) at ATS.UploadPDFFiles.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\ATS\UploadPDFFiles.aspx.vb:line 87

Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied.

Thanks for any help!
Nov 19 '05 #1
2 6037
The uthentication used in the browser allows the logged-in user to view your
ASP.Net pages. ASP.Net (your app) always runs under the same, single user
account. That account must be granted permission to write to that path.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Tom Wells" <tw****@les.com> wrote in message
news:uy**************@tk2msftngp13.phx.gbl...
I have a little file upload page that I have been able to use to
successfully upload files to the C: drive of LocalHost (my machine). I need
to be able to upload to a network drive from the intranet server. On the
line: dirs = Directory.GetDirectories(currentDir) I get "Access to the
path "\\les-net\les\Special Projects\ATSPDF" is denied." How do I get the
GetDirectories command to user my user ID and password when it tries to hit
the network drive. The browser has a login where the UserID and Password
are captured and stored in session variables that information is available.
How do I cause GetDirectories to use that info?
If you need more information I have included the relevant HTML, VB.NET code
and the Error message I get.
This is what I try:
In aspx page:
<FORM id=Form1 method=post enctype="multipart/form-data" runat="server">
<FONT face=verdana>Select File to Upload:</FONT> <INPUT
id=uploadedFile type=file name=uploadedFile runat="server">
<INPUT id=upload type=button value=Upload name=upload runat="server">
</FORM>

In code behind:
Imports System.IO
Public Class UploadPDFFiles
Inherits System.Web.UI.Page
Dim currentDir As String
Dim directorySeparatorChar As Char = Path.DirectorySeparatorChar
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
End Sub
Protected WithEvents dirContent As System.Web.UI.WebControls.Label
Protected WithEvents message As System.Web.UI.WebControls.Label
Protected WithEvents uploadedFile As
System.Web.UI.HtmlControls.HtmlInputFile
Protected WithEvents upload As System.Web.UI.HtmlControls.HtmlInputButton
Protected WithEvents NavMenu1 As NavMenu.CustomControls.NavMenu
'NOTE: The following placeholder declaration is required by the Web Form
Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
sMenuItems = "Home;Home.aspx;Home Page|"
sMenuItems &= "Search;Search.aspx;Find an Archive Box"
sMenuItems &= "Help;Help.aspx;Help for this screen"
Navmenu1.NavMenuHeading = "Archive Tracking System"
Call InitNavMenu(NavMenu1)
' Dim root As String = "C:\Inetpub\wwwroot\ATS\PDF"
Dim root As String = "\\les-net\les\Special Projects\ATSPDF"
Dim thisPage As String = Request.Path
currentDir = Request.Params("dir")
If currentDir Is Nothing Then
currentDir = root
End If
If Not currentDir.StartsWith(root) Then
currentDir = root
End If
Dim sb As New System.Text.StringBuilder(4096)
Try
If Not currentDir.Equals(Root) Then
' not at the root
Dim currentDirParent As String
Dim lastIndex As Integer = _
currentDir.LastIndexOf(directorySeparatorChar)
If lastIndex <> -1 Then
currentDirParent = currentDir.Substring(0, lastIndex)
Else
currentDirParent = currentDir
End If
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current DirParent))
sb.Append("><img width=30 border=0 src=images/Up.gif></a><br>")
End If
sb.Append("<br><img border=0 src=images/OpenFolder.gif> ")
sb.Append("<font face=verdana>")
sb.Append(currentDir)
sb.Append("</font>")
sb.Append("<br>")
sb.Append("<table>")
sb.Append("<tr bgcolor=#D8D8D8>")
sb.Append("<td width=200><font face=verdana size=3>Name</font></td>")
sb.Append("<td><font face=verdana size=3>Type</font></td>")
sb.Append("<td><font face=verdana size=3>Size</font></td>")
sb.Append("<td><font face=verdana size=3>Modified</font></td>")
sb.Append("</tr>")
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirs() As String
dirs = Directory.GetDirectories(currentDir)
Dim d As String
For Each d In dirs
Dim dirName As String = Path.GetFileName(d)
sb.Append("<tr>")
sb.Append("<td><img src=images/Folder.gif> ")
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current Dir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(dirName))
sb.Append(">").Append(dirName).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>folder</font></td>")
sb.Append("<td> </td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(Directory.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & dirName).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirInfo As New DirectoryInfo(currentDir)
Dim files() As FileInfo
files = dirInfo.GetFiles()
Dim f As FileInfo
For Each f In files
Dim filename As String = f.Name
sb.Append("<tr>")
sb.Append("<td><img src=images/File.gif> ")
sb.Append("<a href=FileDownload.aspx?file=")
sb.Append(Server.UrlEncode(currentDir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(filename))
sb.Append(">").Append(filename).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>file</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(f.Length.ToString())
sb.Append("</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(File.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & f.Name).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
sb.Append("</table>")
dirContent.Text = sb.ToString()
End Sub
Private Sub upload_ServerClick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles upload.ServerClick
If Not (uploadedFile.PostedFile Is Nothing) Then
Try
Dim postedFile = uploadedFile.PostedFile
Dim filename As String = Path.GetFileName(postedFile.FileName)
Dim contentType As String = postedFile.ContentType
Dim contentLength As Integer = postedFile.ContentLength
postedFile.SaveAs(currentDir & directorySeparatorChar.ToString() &
filename)
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
End If
End Sub
End Class

The error I get is this:
A system error has occurred at:
file upload

System.UnauthorizedAccessException: Access to the path
"\\les-net\les\Special Projects\ATSPDF" is denied. at
System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.Directory.InternalGetFileDirectoryNames( String fullPath, String
userPath, Boolean file) at System.IO.Directory.InternalGetDirectories(String
path, String userPath, String searchPattern) at
System.IO.Directory.GetDirectories(String path, String searchPattern) at
System.IO.Directory.GetDirectories(String path) at
ATS.UploadPDFFiles.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\ATS\UploadPDFFiles.aspx.vb:line 87

Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied.

Thanks for any help!
Nov 19 '05 #2
The ASPNET user account that ASP.NET uses by default does not have network
permissions. Either give the account such network permissions (likely with
the help of your network administrator) or use impersonation to have it run
under a different user account that does have such permissions.
For testing purposes you can have it run under your personal user account.
Here's more info:
http://msdn.microsoft.com/library/de...ersonation.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Tom Wells" <tw****@les.com> wrote in message news:uy**************@tk2msftngp13.phx.gbl...
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet server. On the line: dirs = Directory.GetDirectories(currentDir) I get "Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied." How do I get the GetDirectories command to user my user ID and password when it tries to hit the network drive. The browser has a login where the UserID and Password are captured and stored in session variables that information is available. How do I cause GetDirectories to use that info?
If you need more information I have included the relevant HTML, VB.NET code and the Error message I get.
This is what I try:
In aspx page:
<FORM id=Form1 method=post enctype="multipart/form-data" runat="server">
<FONT face=verdana>Select File to Upload:</FONT> <INPUT
id=uploadedFile type=file name=uploadedFile runat="server">
<INPUT id=upload type=button value=Upload name=upload runat="server">
</FORM>

In code behind:
Imports System.IO
Public Class UploadPDFFiles
Inherits System.Web.UI.Page
Dim currentDir As String
Dim directorySeparatorChar As Char = Path.DirectorySeparatorChar
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Protected WithEvents dirContent As System.Web.UI.WebControls.Label
Protected WithEvents message As System.Web.UI.WebControls.Label
Protected WithEvents uploadedFile As System.Web.UI.HtmlControls.HtmlInputFile
Protected WithEvents upload As System.Web.UI.HtmlControls.HtmlInputButton
Protected WithEvents NavMenu1 As NavMenu.CustomControls.NavMenu
'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
sMenuItems = "Home;Home.aspx;Home Page|"
sMenuItems &= "Search;Search.aspx;Find an Archive Box"
sMenuItems &= "Help;Help.aspx;Help for this screen"
Navmenu1.NavMenuHeading = "Archive Tracking System"
Call InitNavMenu(NavMenu1)
' Dim root As String = "C:\Inetpub\wwwroot\ATS\PDF"
Dim root As String = "\\les-net\les\Special Projects\ATSPDF"
Dim thisPage As String = Request.Path
currentDir = Request.Params("dir")
If currentDir Is Nothing Then
currentDir = root
End If
If Not currentDir.StartsWith(root) Then
currentDir = root
End If
Dim sb As New System.Text.StringBuilder(4096)
Try
If Not currentDir.Equals(Root) Then
' not at the root
Dim currentDirParent As String
Dim lastIndex As Integer = _
currentDir.LastIndexOf(directorySeparatorChar)
If lastIndex <> -1 Then
currentDirParent = currentDir.Substring(0, lastIndex)
Else
currentDirParent = currentDir
End If
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current DirParent))
sb.Append("><img width=30 border=0 src=images/Up.gif></a><br>")
End If
sb.Append("<br><img border=0 src=images/OpenFolder.gif> ")
sb.Append("<font face=verdana>")
sb.Append(currentDir)
sb.Append("</font>")
sb.Append("<br>")
sb.Append("<table>")
sb.Append("<tr bgcolor=#D8D8D8>")
sb.Append("<td width=200><font face=verdana size=3>Name</font></td>")
sb.Append("<td><font face=verdana size=3>Type</font></td>")
sb.Append("<td><font face=verdana size=3>Size</font></td>")
sb.Append("<td><font face=verdana size=3>Modified</font></td>")
sb.Append("</tr>")
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirs() As String
dirs = Directory.GetDirectories(currentDir)
Dim d As String
For Each d In dirs
Dim dirName As String = Path.GetFileName(d)
sb.Append("<tr>")
sb.Append("<td><img src=images/Folder.gif> ")
sb.Append("<a href=").Append(thisPage)
sb.Append("?dir=").Append(Server.UrlEncode(current Dir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(dirName))
sb.Append(">").Append(dirName).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>folder</font></td>")
sb.Append("<td> </td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(Directory.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & dirName).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
Try
Dim dirInfo As New DirectoryInfo(currentDir)
Dim files() As FileInfo
files = dirInfo.GetFiles()
Dim f As FileInfo
For Each f In files
Dim filename As String = f.Name
sb.Append("<tr>")
sb.Append("<td><img src=images/File.gif> ")
sb.Append("<a href=FileDownload.aspx?file=")
sb.Append(Server.UrlEncode(currentDir))
sb.Append(directorySeparatorChar)
sb.Append(Server.UrlEncode(filename))
sb.Append(">").Append(filename).Append("</a>")
sb.Append("</td>")
sb.Append("<td><font face=verdana size=2>file</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(f.Length.ToString())
sb.Append("</font></td>")
sb.Append("<td><font face=verdana size=2>")
sb.Append(File.GetLastWriteTime(currentDir & _
directorySeparatorChar.ToString() & f.Name).ToString())
sb.Append("</font></td>")
sb.Append("</tr>")
Next
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
sb.Append("</table>")
dirContent.Text = sb.ToString()
End Sub
Private Sub upload_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upload.ServerClick
If Not (uploadedFile.PostedFile Is Nothing) Then
Try
Dim postedFile = uploadedFile.PostedFile
Dim filename As String = Path.GetFileName(postedFile.FileName)
Dim contentType As String = postedFile.ContentType
Dim contentLength As Integer = postedFile.ContentLength
postedFile.SaveAs(currentDir & directorySeparatorChar.ToString() & filename)
Catch ex As Exception
sException = ex
sErrorPage = "file upload"
Response.Redirect("ErrorPage.aspx")
End Try
End If
End Sub
End Class

The error I get is this:
A system error has occurred at:
file upload

System.UnauthorizedAccessException: Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.Directory.InternalGetFileDirectoryNames( String fullPath, String userPath, Boolean file) at System.IO.Directory.InternalGetDirectories(String path, String userPath, String searchPattern) at System.IO.Directory.GetDirectories(String path, String searchPattern) at System.IO.Directory.GetDirectories(String path) at ATS.UploadPDFFiles.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\ATS\UploadPDFFiles.aspx.vb:line 87

Access to the path "\\les-net\les\Special Projects\ATSPDF" is denied.

Thanks for any help!
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
1
by: Hrvoje Vrbanc | last post by:
Hello all, I have a web server in a domain and would like to upload files using an ASP.NET application that resides on the aforementioned server but the destination folder for upload is a shared...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
1
by: Phillip N Rounds | last post by:
I'm having problems using the WebClient.UploadFile() command. I have MySender.ASPX which is supposed to upload two files to the server. There is also ConsumeFileUpload.aspx which is intended to...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
3
by: wassimdaccache | last post by:
Dear sirs, It is shame to me to say that I have been 1 week working in this problem and it is not working. I am getting this error while I am uploading a file using my website. Warning:...
2
by: printline | last post by:
Hi' all I have a strange problem when uploading files from a form to my ftp site. Here is my code: <?php $myFile = $_FILES; // This will make an array out of the file information that was...
3
by: Kai Apel | last post by:
Dear Newsgroup, My name is Kai from Germany and I`m trying to learn VB.Net. My first Project is a simple Form with a button, witch is starting the filedialog for multiselect file. All thats...
0
AnuSumesh
by: AnuSumesh | last post by:
Hi We have an application where we can upload file from client machine to any shared device on the network. Now our requirement is to upload multiple files over the network. e.g. to path...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.