PDA

View Full Version : ? change in hosting environment ??????


msword
02-06-2004, 01:03 AM
I got error not enough space on disk.
I checked my space, and it says 14mb, that cant be right. I think it's more than that. It allows me to FTP items there but not copy files. [B)]


THis is how i caught it

Sub uploadThefile(ByVal send As system.Object, ByVal e as System.Eventargs)
Dim fso
dim strFile = uplTheFile.Postedfile.Filename
dim getname
fso = CreateObject("Scripting.FileSystemObject")
Getname = fso.GetFileName(strFile)

Dim docpath = "path "
Try
uplTheFile.PostedFile.SaveAs(docpath & getname)

response.write("file uploaded successfully")

Catch msg as Exception
response.write(msg.Message)

End Try

End Sub
</font id="size1">

bruce
02-06-2004, 04:00 AM
please create a support ticket to get this matter resolve.

[b]quote:Originally posted by msword

I got error not enough space on disk.
I checked my space, and it says 14mb, that cant be right. I think it's more than that. It allows me to FTP items there but not copy files. [B)]


THis is how i caught it

Sub uploadThefile(ByVal send As system.Object, ByVal e as System.Eventargs)
Dim fso
dim strFile = uplTheFile.Postedfile.Filename
dim getname
fso = CreateObject("Scripting.FileSystemObject")
Getname = fso.GetFileName(strFile)

Dim docpath = "path "
Try
uplTheFile.PostedFile.SaveAs(docpath & getname)

response.write("file uploaded successfully")

Catch msg as Exception
response.write(msg.Message)

End Try

End Sub
</font id="size1">
</blockquote id="quote"></font id="quote">

msword
02-06-2004, 11:37 AM
Has somethign changed in the hosting environment? I was able to upload documents,now I cant. My scripts work in my local environment, but they are working now.
I have a
try catch finally statment, but I'm not catching any errors. Does anybody know if something happended in the last 2-3 days?

thanks

bruce
02-06-2004, 12:26 PM
Nothing has changed on our server in the past week.

I need to see the error to narrowdown the problem


[b]quote:Originally posted by msword

Has somethign changed in the hosting environment? I was able to upload documents,now I cant. My scripts work in my local environment, but they are working now.
I have a
try catch finally statment, but I'm not catching any errors. Does anybody know if something happended in the last 2-3 days?

thanks
</blockquote id="quote"></font id="quote">

msword
02-06-2004, 12:55 PM
bruce maybe you can see something wrong here? it's just a very simple script. What could cause my file to not upload? any ideas then?
Dim fso
dim strFile = inpfileup.Postedfile.Filename
dim getname
fso = CreateObject("Scripting.FileSystemObject")
Getname = fso.GetFileName(strFile)

Try
inpfileup.PostedFile.SaveAs(docpath & getname)
catch msg as Exception
response.write(msg.Message)
end try