|
If I have an ASP.NET code-behind, is there a way to compile the path of that file into the file somehow?
Started by MStodd on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To get the exact to the aspx file..
If your code behind file is called Default.aspx the path to it would be "~/Default.aspx".
|
|
I'm writing a simple program that is used to synchronize files to an FTP. I want to be able to check if the local version of a file is different from the remote version, so I can tell if the file(s) need to be transfered. I could check the file size, ...
Started by Eric on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If the server is plain "listing file" that has all the....
Other then that, you are S.O.L.
A checksum file, you can download that (which will be a lot quicker since a checksum is quite small a checksum file and keeping it up to date.
|
|
Hi,
I have a very basic upload script, probably lifted straight off the php.net/move_upload_files function page.
move_uploaded_file() is failed because it cannot find the tmp file in the tmp folder. But I KNOW that it is being put there, but is removed...
Started by Bowen on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: $_FILES....
Are you 100% sure that the file actually is created in /tmp? If you don't have write permission (or the user the script runs as) the file wont be written the upload finishes.
="...">
Use multiple/form-data as enctype.
|
Ask your Facebook Friends
|
By default ClickOnce will include all .xml files as data files. This results in the xml files are deployed in a data directory and not in the application directory.
Is there a way to generate the manifest from MSBuild/Mage that will include xml files ...
Started by sduplooy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In the Application Files dialog box, select the XML file.
The publish status of the file (with some modifications):
With a project selected in Solution Explorer to open the Application Files dialog box.
|
|
I want read a text file on client workstation and copy that text to a text file with that workstation no. this process I need to do for 500+ workstations.
I am having a NOde licence server and I updated its version so now I need to update clients also...
Answer Snippets (Read the full thread at stackoverflow):
Anyway,
To read from a file use "type"
To output to a file, use ">"
To copy, use "copy"
c:\>type filea.txt > newfile.txt c:\>copy ....
Copy the text in that file with copmuter name", I do not quite understand this phrase.
|
|
I have a text file that contains a list of urls for files of my word
for example :
http://domain.com/file1.zip http://domain.com/file2.zip http://domain.com/file3.zip http://domain.com/file4.zip
...etc
how can i batch download all files to a folder automatically...
Answer Snippets (Read the full thread at serverfault):
From man wget :
You have a file that contains the URLs you want to download? Use the -i switch http://domain.com/file${i}.zip ; done
for i in `cat /file/list` do wget $i done
(those are back ticks in the "cat /file/list" (....
|
|
Possible Duplicate:
How do I include functions from another file in my Perl script?
I have a perl file suppose a.pl and I want to use a function from perl file b.pl. How do i do it
Started by manugupt1 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You would then access your module file ( MyFuncs.pm ) from a.pl with:
use MyFuncs;
Use the 'use' keyword to use functions from another module....
This would require you to convert b.pl to a package .
In a Perl module file (.pm): See perlmod .
|
|
Hi! I have a cab file(w/ an executable file inside) embedded on my webpage. When the user access the page the cab file will be automatically extracted and the executable file inside should be executed as well. Is this possible? My hunch is that this will...
Started by junmats on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Mfc42.exe
Is there a way to install this .CAB file from the command line? I've tried every possible.
|
|
OK say I have a file called fileA.php in the same directory I have another file called fileB.php
so inside fileA there is this require_once('fileB.php') notice I did not specify a file path because both files are in the same directory.
Now if fileA is...
Started by John Isaacks on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
DIRECTORY_SEPARATOR .'fileB.php')
http://php.net.
:
// fileA.php require_once(dirname(__FILE__) .
|
|
I remember reading an article or post somewhere years ago that suggested including a resource file in a project by referencing the .rc file instead of an already compiled .res file so that the resource is built as part of the project's build process.
...
Started by Luke CK on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Just add the rc file to your project via the compiler to invoke the resource compiler and compile an rc script to produce a res file and link glyphs.res}
to
{$r glyphs.res glyphs.rc....
See an example here: "How do I make a PNG resource?" .
|