Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,492
» Latest member: jimkuy402
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1133 online users.
» 3 Member(s) | 1126 Guest(s)
Applebot, Bing, Google, Yandex, jimkuy402, meeforgartthros1983, Vinmedianl

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
Yesterday, 09:49 PM
» Replies: 1
» Views: 117
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 114
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 125
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 413
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 208
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 578
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 200
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,154
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 333
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 939

 
  Unable to upload to correct FTPS folder if FTP site also exists
Posted by: Vintner - 05-10-2018, 03:37 PM - Forum: Indy - Replies (1)

Hello

I'm using Indy 10.6.0.516 on Delphi XE7.

I can get FTPS to upload to the correct folder using port 990 if there is no FTP site on the same IP. However, as soon as I set up an FTP site on port 21, then FTPS uploads now go to the FTP folder rather than the FTPS one.

Is it possible for Indy to work with FTPS when there are both FTP and FTPS sites on the same host? 

Here is my code:

Code:
               If IdFTP1.Connected then
                  IdFTP1.Disconnect;

               IdFTP1.Host:=FTP_HOST;
               IdFTP1.Port:=FTP_PORT; //990
               IdFTP1.Username:=FTP_USERID;
               IdFTP1.Password:=FTP_PASSWORD;
               IdFTP1.Passive:=True;

               IdSSLIOHandlerSocketOpenSSL1.Host:=FTP_HOST;
               IdSSLIOHandlerSocketOpenSSL1.Port:=FTP_PORT; //990
               IdSSLIOHandlerSocketOpenSSL1.DefaultPort:=FTP_PORT;

               IdSSLIOHandlerSocketOpenSSL1.SSLOptions.Method:=sslvSSLv23; 
               IdFTP1.IOHandler:=IdSSLIOHandlerSocketOpenSSL1;
               IdFTP1.UseTLS:=utUseExplicitTLS;

               IdFTP1.DataPortProtection:=ftpdpsPrivate;
               IdFTP1.Connect;
               IdFTP1.ChangeDir(FTP_FOLDER);

               IdFTP1.Put(zipSourceFile, zipDestinationFile);

Many thanks

Print this item

  How to pass email datetime to the New TIdImap4.AppendMsg method?
Posted by: edwinyzh - 05-10-2018, 08:44 AM - Forum: Indy - Replies (3)

Hello,

In the old version of Indy 10 (a few years back), the TIdImap4.AppendMsg allows  me to pass the UTC datetime of the email, but I don't know since when the parameter list of that method has changed.

I have noticed the AAlternativeHeaders: TIdHeaderList parameter, I guess I can set the email date using this parameter? If yes, how? Thanks.

Print this item

  ISAPI & ComInitialization
Posted by: JalcoJohn - 05-09-2018, 01:58 PM - Forum: IntraWeb General Discussion - Replies (2)

I've an app that has ComInitialization set to ciMultiThreaded and it all works fine on my installation of IIS (Version 8). however, when I deploy it to my Client's server running the same version of IIS I get the error 'Cannot change thread mode after it is set'.  If I change it to ciNormal it seems to work OK.

So the question is, has IIS got some setting somewhere that controls COM on the face of it both systems look the same and is there any harm in leaving it at ciNormal?

Any help much appreciated.

Regards
John

Print this item

  IS it possible to Stop Full render page
Posted by: morhous - 05-09-2018, 09:38 AM - Forum: IntraWeb General Discussion - Replies (4)

Greetings first time "forum"-ing in Atozed feels great tho. I am not delphi developer but i have to be because of job requirements. Ah forget this somehow excited hyped af. 
In a last week i searching through atozed a-z to find documentation to how to prevent full page render hmm actually not prevent another method to get my data without full render you know like ajax works on certain div. Right know i got my nice connections with Dataset, Datasource to DBgrid to show data from which is Dataset get from sql result. Also have a button to add my nicely structured table without missing column but i only add to table not to something like full page render. So i am desperate for help i am not good at delphi i'm started to learn week ago. Any advice would be grateful.
Also i already installed my templates javascript css, masterpages tho Heart

Print this item

  Error: Could not load SSL library
Posted by: RaelB - 05-09-2018, 08:49 AM - Forum: Indy - Replies (8)

Hi,

A small number of users report this error when trying to download webpages with my application.

The app includes recent versions of OpenSSL in the same folder as the exe.
I thought when loading a dll, the first place an app looks is in the same folder as the exe, so whether there are other copies of the dlls in other places or not, should not affect my application. However it seems that such things can have an effect. (see https://stackoverflow.com/questions/2504...i-xe2-iw14).

Is it possible for me to rename the dlls and then set a custom name for the dlls in Indy?

(Delphi XE4; Indy 5438)

Thanks
Rael

Print this item

  IWGrid.Clear Frees objects in control field?
Posted by: luis.j.gutierrez@inn2.cl - 05-08-2018, 09:31 PM - Forum: IntraWeb General Discussion - Replies (3)

I am using Intraweb 14.2.7 and I have a question. When I use IWGrid, I create some buttons using the control field. When I use IWGrid.Clear, ir frees the object assigned to Control?

Print this item

  CGS is not working
Posted by: charl - 05-08-2018, 02:14 PM - Forum: COSMOS - Replies (1)

Hello. I am using the newest userkit of Cosmos and my code compiles but the canvas never shows up on the screen. It stays in text mode. There are no exceptions or anything. I used my own OS and the CGS example code and the issue wasn't resolved.

Print this item

  Start javascript on opening page
Posted by: mrhappy - 05-08-2018, 01:22 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

How can a javascript function (from a file) automatically be started when opening a webpage?

I have already added the Javascript filename to Contentfiles and executed a function but got no result.

Greetz

Print this item

  A bug in new version of Indy in TIdSMTP
Posted by: johnmay - 05-07-2018, 08:40 PM - Forum: Indy - Replies (5)

I found a problem with it. Older version worked fine.


Code:
IdSMTP1->Host = "smtp.charter.net";
IdSMTP1->Port = 25;
IdSMTP1->Connect();

The server issues:
571 impout002 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space.  E1110

But IdSMTP raises an exception:

Project Project1.exe raised exception class EIdSMTPReplyError with message 'impout003 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space.  E1110'.

There is also problem connecting to:

Code:
IdSMTP1->Host = "mobile.charter.net";
IdSMTP1->Port = 587;
IdSMTP1->UseTLS = utUseImplicitTLS;
IdSMTP1->Connect();

Project Project1.exe raised exception class EIdSocketError with message 'Socket Error # 10060 Connection timed out.'.

But it is NOT socket error nor firewall. Older version of Indy connects fine using exact same settings above (587 + implicit TLS).

Older version of Indy (5373) works fine for both of the above settings... So not sure what changed in the meantime in IdSMTP.
maybe this line:
FExplicitTLSProtPort := 587; // TODO: define a constant for this!

In above connection 587 is implicit port (it is non-standardl but that's how Charter have it set up and until recently it connected well using older TIdSMTP).

Print this item

  Real time data
Posted by: Mirco - 05-07-2018, 01:22 PM - Forum: IntraWeb General Discussion - No Replies

Hi,
I need to display a real time data every 1 second.
My data comes from a network socket and every second I have to send them to all the open sessions.


What is the best approach for this task?
I have tryied with a timer but after a while I receive an AJAX error.

It's better a standard application to manage my socket connection and a IWstandaloneserver or directly an IntraWeb application?

c++10, IW14

Thanks in advance.

Print this item