|
|
Rank: Member Groups: Member
Joined: 10/1/2005 Posts: 2 Points: 0
|
I found when I uploaded photos by two or more times, the previous files uploaded strangely missed. How should I restore the files or have them remained there?
I found when I uploaded photos by two or more times, the previous files uploaded strangely missed. How should I keep the previous files?
|
|
 Rank: Advanced Member Groups: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
Hello, Quote:I found when I uploaded photos by two or more times, the previous files uploaded strangely missed. What do you mean? Do your files disappear in Aurigma demo page or somewhere else?
Sincerely yours, Alex Makhov
|
|
Rank: Member Groups: Member
Joined: 10/1/2005 Posts: 2 Points: 0
|
When I uploaded some additional files, I found the previously uploaded photos deleted, whether I have to upload files in one time? If I want to upload additonal files, whether I have to reupload all the files?
I found when I uploaded photos by two or more times, the previous files uploaded strangely missed. How should I keep the previous files?
|
|
 Rank: Advanced Member Groups: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
Hello,
Show your upload processing code, please.
Sincerely yours, Alex Makhov
|
|
Rank: Member Groups: Member
Joined: 10/20/2005 Posts: 1 Points: 0
|
I got this response from the support team at Aurigma.... The demo samples deliberately delete any previously uploaded files so as to keep the area clean. Just delete the following code from the upload scripts (e.g. PersistsAspUpload.asp): Code:
Dim objFileSystem, objFolder, objSubFolder, objFile
Set objFileSystem = Server.CreateObject("Scripting.FileSystemObject")
Set objFolder = objFileSystem.GetFolder(Server.MapPath(strGalleryPath))
For Each objFile In objFolder.Files
objFileSystem.DeleteFile objFile.Path, True
Next
Set objFolder = objFileSystem.GetFolder(Server.MapPath(strGalleryPath) & "\Thumbnails")
For Each objFile In objFolder.Files
objFileSystem.DeleteFile objFile.Path, True
Next
MyConnection.Execute "DELETE FROM [File]"
|
|
 Rank: Advanced Member Groups: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
Yes,
The samples are configured to show how to upload files once. While uploading new files the old files are deleted. In other way the samples would be much more complicated.
Sincerely yours, Alex Makhov
|
|
|
Guest |