03-12-2002
I want to clarify that downloading does
not automagically make it no good. The only time I have ever had a bad download of a large software piece was my own fault, because I didn't burn the ISO correctly.
And yes, Motif rules
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Pls help
i've used the boot assistance disk to boot my computer (P3 300)
after checking the drivers , i select the CD to install , however,
the computer said it can't mount the CD
CD is download from sun.com (solaris 8)
my CD rom is Misabushi and Ricoh (7060) ,
both cannot do so,
what is... (4 Replies)
Discussion started by: kazamih
4 Replies
2. IP Networking
I have just installed solaris 8 for Intel on one of my machines at home and I have a cable modem connection with a static IP and I am using a linksys cable/dsl router to assign IP's to my machines. I was wondering if any of you guys know the specific files and examples of the files I have to... (2 Replies)
Discussion started by: reggie316
2 Replies
3. Programming
hi I'm looking for a C Compiler that will run on a Solaris 8 (Intel) platform and that doesn't need to be complied.
I've tried gcc binaries but they don't seem to work.
Thanx. (5 Replies)
Discussion started by: ianf
5 Replies
4. UNIX for Dummies Questions & Answers
Do you now have to pay to download the Solaris 8 OE? If so when did they change it? (3 Replies)
Discussion started by: tycobb
3 Replies
5. UNIX for Dummies Questions & Answers
I have my shinny new SunFire 280 server with a fresh copy of Solaris 8 installed. I installed the options CD which includes KDE. I can't seem to get it to work. (This is what happens when management gives a Unix box to an x86 Network Admin and says "Figure it out" ) I have played with Mandrake and... (1 Reply)
Discussion started by: RandySmith23
1 Replies
6. UNIX for Dummies Questions & Answers
hi guys :
can KDE be installed on solaris 9 (intel)
and if so , does any one know how to do or provide a refrence document for this procedure ?
thanks in advance (1 Reply)
Discussion started by: behmoth
1 Replies
7. UNIX for Advanced & Expert Users
I was wondering what features are not available on Solaris installed on Intel architecture as compared to the SPARC archietecture??
:-) (3 Replies)
Discussion started by: encrypted
3 Replies
8. Solaris
Hello all mentor.
I am a new in this furom and also just self studying unix environment. :confused:
I have installed intel solaris 9 in my laptop and i have forgotten the root password nor maybe the numlock or capslock of the keyboard was enabled
during I enter the password installation... (3 Replies)
Discussion started by: eykyn17
3 Replies
9. Solaris
Hi All,
How can I go to OBP on Solaris 10-intel? I tried doing ctrl+c or ctrl+break, it won't go to the "ok" prompt.
Thanks in advance,
itik (6 Replies)
Discussion started by: itik
6 Replies
10. Solaris
just need help with loading solaris 10 from cds that i bought from sun. i have a dell box that had solaris 8 on it, wiped it and stuck in the cd1 for solaris 10. selected "solaris" for install. went through a few minutes then comes up with"sunOS Release 5.10 version generic_137138-09 32-bit,... (3 Replies)
Discussion started by: flir11
3 Replies
LEARN ABOUT PHP
ftp_nb_get
FTP_NB_GET(3) 1 FTP_NB_GET(3)
ftp_nb_get - Retrieves a file from the FTP server and writes it to a local file (non-blocking)
SYNOPSIS
int ftp_nb_get (resource $ftp_stream, string $local_file, string $remote_file, int $mode, [int $resumepos])
DESCRIPTION
ftp_nb_get(3) retrieves a remote file from the FTP server, and saves it into a local file.
The difference between this function and ftp_get(3) is that this function retrieves the file asynchronously, so your program can perform
other operations while the file is being downloaded.
PARAMETERS
o $ftp_stream
- The link identifier of the FTP connection.
o $local_file
- The local file path (will be overwritten if the file already exists).
o $remote_file
- The remote file path.
o $mode
- The transfer mode. Must be either FTP_ASCII or FTP_BINARY.
o $resumepos
-The position in the remote file to start downloading from.
RETURN VALUES
Returns FTP_FAILED or FTP_FINISHED or FTP_MOREDATA.
EXAMPLES
Example #1
ftp_nb_get(3) example
<?php
// Initate the download
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY);
while ($ret == FTP_MOREDATA) {
// Do whatever you want
echo ".";
// Continue downloading...
$ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "There was an error downloading the file...";
exit(1);
}
?>
Example #2
Resuming a download with ftp_nb_get(3)
<?php
// Initate
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY,
filesize("test"));
// OR: $ret = ftp_nb_get($my_connection, "test", "README",
// FTP_BINARY, FTP_AUTORESUME);
while ($ret == FTP_MOREDATA) {
// Do whatever you want
echo ".";
// Continue downloading...
$ret = ftp_nb_continue($my_connection);
}
if ($ret != FTP_FINISHED) {
echo "There was an error downloading the file...";
exit(1);
}
?>
Example #3
Resuming a download at position 100 to a new file with ftp_nb_get(3)
<?php
// Disable Autoseek
ftp_set_option($my_connection, FTP_AUTOSEEK, false);
// Initiate
$ret = ftp_nb_get($my_connection, "newfile", "README", FTP_BINARY, 100);
while ($ret == FTP_MOREDATA) {
/* ... */
// Continue downloading...
$ret = ftp_nb_continue($my_connection);
}
?>
In the example above, newfile is 100 bytes smaller than README on the FTP server because we started reading at offset 100. If we didn't
disable FTP_AUTOSEEK, the first 100 bytes of newfile would be '