CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Upload Files - file upload location

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 12/04/2008, 9:07 AM

When using the file upload component, and selecting the location where the files will be uploaded, do you have to stay in your project directory? Can you even go to a different drive?

say my project runs off the c: drive, but do not want to have the file stored here, but on a mapped storage drive h: (tons of space). will it let me store/retrieve from this h: drive?
View profile  Send private message
Oper


Posts: 1195
Posted: 12/04/2008, 11:17 AM

do you have to stay in your project directory? No Sir

and use H:? Yes Sir
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 12/04/2008, 11:39 AM

Sweet. Thanks Oper.
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/26/2009, 9:03 AM

Have been trying this , and it's giving me an error.

  
Unable to upload the file specified in FileUpload1 - upload folder doesn't exist.

I'm trying to upload the files to a mapped drive on a different server.

I've fiddled with permissions and whatnot, and it's still giving me problems.

Anyone have similar issues?
View profile  Send private message
Oper


Posts: 1195
Posted: 01/28/2009, 4:51 AM

Temp Folder and Upload Folder Created?

Also Remember that Mapped Drive maybe is not created for your IIS User.

For this we have try assigning IIS user a Current user then log and create a persitented Mapped Drive.
(Keep in mind that IIS will Log Twice first Time creating small Delay)


i havent try this in Upload but we use to Read an MDB for one customer so shoudl work for you:
  
\\MyServer\filesharename\directoryname\filename  
we do this too
\\192.168.1.100\c$\MyData\whatever.mdb

try this if you get fail i will try to recreate a sample.

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/28/2009, 7:04 AM

It's the Upload Folder. The temp folder is still on the local drive c: and works fine. For testing purposes I've tried to move temp folder to the mapped drive, and it gave the same error, but said couldn't find temp upload folder.

setting the upload file folder property to \\ccnet-fserver\s$\Uploads didn't work

trying \\192.168.0.48\s$\Uploads didn't work

I sent a support request in to Yes Software so I'll see what they say.
View profile  Send private message
Oper


Posts: 1195
Posted: 01/28/2009, 8:05 AM

  
\\192.168.0.48\s$\Uploads didn't work  

should work

but as i said you could use mapped drive H: L: etc, but you will have to created the mapped drive to the IIS user.


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/28/2009, 10:00 AM

the IIS user...would it be this one?

IUSR_servername or the IUSR for my codecharge studio server that is trying to access this mapped drive?
View profile  Send private message
Oper


Posts: 1195
Posted: 01/29/2009, 3:01 PM

IUSR_servername (very tricky and dangerous since you will have to manipulate that user and password withou error)

Test in another Computer First

but \\servername\folder shoudl work i will check and create a small project this sunday at home when off duty and will let you know.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/30/2009, 6:08 AM

Ok, thanks.
View profile  Send private message
zamilie

Posts: 5
Posted: 03/05/2009, 12:36 AM

how is it? working?
View profile  Send private message
Oper


Posts: 1195
Posted: 03/08/2009, 5:04 PM

Read here:
http://forums.yessoftware.com/posts.php?post_id=103591

Let me know if doesnt work for you.

Note: its working for me.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.