Search found 12 matches

by iancrt
Tue Jul 28, 2009 3:32 pm
Forum: Coding Questions
Topic: FTP - Use on Windows IIS
Replies: 4
Views: 1392

Just to Update:

I managed to get the offending IIS server switched to 'Unix Style' directory listings and the FTP library works fine now.

Obviously not a solution open to everyone but if the options there it all works fine
by iancrt
Fri Jul 24, 2009 7:06 am
Forum: Coding Questions
Topic: FTP - Use on Windows IIS
Replies: 4
Views: 1392

Thanks for the replies. I look forward to the next release :D

In the meantime I'll cope without the date.
by iancrt
Fri Jul 24, 2009 7:03 am
Forum: Coding Questions
Topic: Please help .. how to pass variables into purebasic
Replies: 4
Views: 1040

use

Code: Select all

programparameter() 
search for it in help, its a bit more flexible than the old command$
by iancrt
Thu Jul 23, 2009 4:06 pm
Forum: Coding Questions
Topic: FTP - Use on Windows IIS
Replies: 4
Views: 1392

FTP - Use on Windows IIS

hi,

I know a few questions have been raised regarding this since the FTP lib was added. So far everything I have needed to do with FTP worked a treat and was so simple to code (I dont tell my boss that!)

Now I'm in a position where I need to know if a file exists and its date on
FTP. Remember I ...
by iancrt
Wed May 19, 2004 10:12 pm
Forum: General Discussion
Topic: Strings and Memory
Replies: 4
Views: 1733

Ouch!

Its an option though, thanks!

Had an idea I am testing now, got program running as:

dummy=bit_modified(string1)
string1=dummy
dummy=""
dummy=bit_modified(string1)
string1=dummy
dummy=""
dummy=bit_modified(string1)
string1=dummy
dummy=""
dummy=bit_modified(string1)
string1=dummy
dummy ...
by iancrt
Wed May 19, 2004 9:20 pm
Forum: General Discussion
Topic: Strings and Memory
Replies: 4
Views: 1733

Strings and Memory

I am having problems with the memory used in a program that does a lot of string manipulation. The guts of the program works like:

string2=bit_modified(string1)
string1=""
string3=bit_modified(string2)
string2=""
string4=bit_modified(string3)
string3=""

.....and so on, doing this multiple times in ...
by iancrt
Mon Feb 23, 2004 4:52 pm
Forum: Coding Questions
Topic: Problem with a nested Trim Function
Replies: 1
Views: 1019

Problem with a nested Trim Function

Found a problem when using Trim() nested within another function. The simple code below should return :
4019
4019
4019

but instead I get:
4076
4019
4019

Seems very strange, has anyone else had this problem? Is there reason for this type of behaviour? Is it generally safe to nest up functions like ...
by iancrt
Wed Jun 11, 2003 1:41 am
Forum: Coding Questions
Topic: packer
Replies: 4
Views: 2457

Packer - Update (with working solution)

Thanks Fred,

It took a while but I think I have finally got my head around this * and @ lark. Decided to put the filename before the file as a seperate packed entity.

I have now a working test modules for both packing multiple files (with filenames) and Unpacking again.

Only limitations is they ...
by iancrt
Tue Jun 10, 2003 12:22 pm
Forum: Coding Questions
Topic: packer
Replies: 4
Views: 2457

packer

hi,

Ive been trying to use the packer library to create a single compressed file from multiple files. this part was easy enough.
Now I need to unpack the files were I'm now stuck. 3 questions to start with...
1. Is the original filename stored in the pack file? (if not can it be added)
2. If so how ...
by iancrt
Tue May 27, 2003 1:42 pm
Forum: Coding Questions
Topic: Console redirection crashes Hello World
Replies: 4
Views: 1702

Thanks

Thanks, I will watch for any updates.
I'm porting a suite of BCX,QBasic and PowerBasic Dos/Console Apps, so far only the redirection being a major problem.
by iancrt
Fri May 23, 2003 7:56 am
Forum: Coding Questions
Topic: Console redirection crashes Hello World
Replies: 4
Views: 1702

hi,

thanks for that, doesn't work though. I'm calling the app from an existing console so its not closing. tried setting the delay quite large (100000) still got the same problem. I put the delay before printn() and the program took longer to crash. tried adding inkey() before printn and it waits ...
by iancrt
Thu May 22, 2003 9:57 pm
Forum: Coding Questions
Topic: Console redirection crashes Hello World
Replies: 4
Views: 1702

Console redirection crashes Hello World

hi,
I just bought pb as it seems to have good console capability, but just hit a problem I hoping there is a solution to.....
Nice simple classic prog:

OpenConsole()
PrintN("Hello World")
CloseConsole()


compile as console app, all cpu and tried with/without NT compliance as Helloworld.exe
Run ...