473,396 Members | 1,792 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,396 software developers and data experts.

Can overwrite via FTP an ASP file of precompiled application ?

I have created and published a precompiled application.

If I replace an ASP file, e.g. Default.ASP, with a new copy, by
sending it via FTP, do I do something WRONG?

Do I spoil the precompiled application or I can replace any file as I
wish?

Can I also just drag all the application files to replace the old
version ?

-P

Aug 3 '07 #1
4 1507
re:
!If I replace an ASP file, e.g. Default.ASP, with a new copy, by
!sending it via FTP, do I do something WRONG?

ASP doesn't pre-compile.
ASPX ( ASP.NET 2.0 ) Applications do pre-compile.

re:
!Do I spoil the precompiled application or I can replace any file as I wish?

For ASP.NET 2.0 apps, you'll neeed to pre-compile the app again,
assuming you have marked the site as updatable.

re:
!Can I also just drag all the application files to replace the old version ?

Yes, as long as you've re-compiled them.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"pamela fluente" <pa***********@libero.itwrote in message news:11*********************@57g2000hsv.googlegrou ps.com...
>I have created and published a precompiled application.

If I replace an ASP file, e.g. Default.ASP, with a new copy, by
sending it via FTP, do I do something WRONG?

Do I spoil the precompiled application or I can replace any file as I
wish?

Can I also just drag all the application files to replace the old
version ?

-P

Aug 4 '07 #2
On 4 Ago, 04:50, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
re:
!If I replace an ASP file, e.g. Default.ASP, with a new copy, by
!sending it via FTP, do I do something WRONG?

ASP doesn't pre-compile.
ASPX ( ASP.NET 2.0 ) Applications do pre-compile.

re:
!Do I spoil the precompiled application or I can replace any file as I wish?

For ASP.NET 2.0 apps, you'll neeed to pre-compile the app again,
assuming you have marked the site as updatable.

re:
!Can I also just drag all the application files to replace the old version ?

Yes, as long as you've re-compiled them.

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================

"pamela fluente" <pamelaflue...@libero.itwrote in messagenews:11*********************@57g2000hsv.goo glegroups.com...
I have created and published a precompiled application.
If I replace an ASP file, e.g. Default.ASP, with a new copy, by
sending it via FTP, do I do something WRONG?
Do I spoil the precompiled application or I can replace any file as I
wish?
Can I also just drag all the application files to replace the old
version ?
-P
You are right I was talking about ASP.NET 2.0 and the extension is
ASPX
(gor mixed up), but you understood anyway well my question.

So assuming I have a site at

fpt://Mysite/MyAspNetApp

and I am working home at c:\MyProjects\Mysite/MyAspNetApp

Can I just drag my files from the work folder into Internet Explorer
to
replace one or more files on the server ?

And what does "precompiled" really means. Is the precompilation info
stored into the ASPX or where ??

-P

Aug 4 '07 #3
On Aug 4, 12:53 pm, pamela fluente <pamelaflue...@libero.itwrote:
Can I just drag my files from the work folder into Internet Explorer
to
replace one or more files on the server ?
yes

Note, that the web.config file might be different

And what does "precompiled" really means. Is the precompilation info
stored into the ASPX or where ??
http://www.odetocode.com/Articles/417.aspx

Aug 4 '07 #4
On 4 Ago, 13:38, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
re:
!Can I just drag my files from the work folder into Internet Explorer
!to replace one or more files on the server ?

Than you very much, Juan

for the throughout anf helpful explanation.

-P

Aug 4 '07 #5

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

Similar topics

5
by: Gord | last post by:
Hello, If you set the flag for an overwrite prompt using the 'Save' common dialog, how do you read the response when the user clicks the Yes or No in the 'overwrite' message box? Everything...
6
by: jtan212 | last post by:
Should i use the function getline? the length of a line is unknown. how to use it? can someone show me a example?
2
by: Tommy Vercetti | last post by:
I am working on a Managed C++ project and I get the following error: TestThread.cpp(3) : error C2859: c:\projects\ProjectName\debug\vc70.pdb is not the pdb file that was used when this...
11
by: Steve Franks | last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my /App_Code directory. Everything runs fine locally. However when I use the "Copy Web" function to upload the site...
2
by: B-Dog | last post by:
Is there a way to make vb.net to overwrite the file when moving? Here is what I'm trying to do: If System.IO.File.Exists(dest) Then 'handle overwrite here If MessageBox.Show("Do you want...
2
by: Simon Gare | last post by:
Hi, have only precompiled version of application as original files have been lost. Trying to alter application in Visual Web Developer but error message reads "the directory is not allowed...
1
by: =?Utf-8?B?SmltSGVhdmV5?= | last post by:
I recently use VS2005 to move my application to a remote server. When I attempted to bring up the application I got the "App_Code/' is not allowed because the application is precompiled". So I...
0
by: sweavo | last post by:
Hi all, (Python 2.5 under cygwin) I'm reading a bunch of XML files and merging them in memory - each file contains a number of packages which are to be merged: for fname in gInfiles: ...
8
by: Joe Duchtel | last post by:
Hello - I have the following code to detemine a file name when my application is saving a file. The problem is that if the file already exists and I select the Yes button in the "Do you want to...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.