FTP, NotesFTPsession and Domino 64 bit

Hi all,

I have a problem I hope someone can help me with.

I have some LotusScript which sends files via FTP using the NotesFTPSession code that many people use (originally from the Sandbox).

I have upgraded our server to Domino 8.5 64 bit on Windows 2003 Enterprise 64 bit, and the code no longer works.

I can run the code successfully on Domino 8.0.2 32 bit, but not on Domino 8.5 64 bit.

Does anyone have any bright ideas how to get this working?

Thanks in advance

Mark

LogicSpot

Subject: The C Call outs in the NotesFTP script library are incorrect for 64 Bit OS

If you take a look at the NoteFTP script library you will see that in the declarations section there are several declarations for C call outs into the winitet.dll that use long variables. On a 64 bit OS a Long is different than a Long in LS and this is causing issues. This link talk more about why this is happening.

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/C-Callouts_on_non-32-bit_Platforms

Basically the solution is to use a Double instead of a Long for the C call declarations on a 64 bit OS.

Subject: Same problem here, did you get it fixed?

Hi, we are running into the same problem, wondering if you have a solution yet?Thank you.

Subject: No solution yet :frowning:

Hi there

No, I didn’t get it fixed and the moment Sametime 8.5 comes out, my servers are being moved around and this will be a HUGE problem for me.

Did you get anywhere since your posting?

I’m mark at logicspot {dot} com if you find something!

Mark

Subject: Complete rewrite - cheap tool used

Just in case anyone comes across this, thought I’d let you know what I did to solve.

Just thought tangentially. Split the export and upload into two separate areas - the exports run every night @ 11AM. The first thing they do is delete all files in a folder. The agent only continues when all files in a folder are deleted.

The next part is to push out files into a folder.

The next part is a non-Domino solution - I’m using SyncBackSE (which I use elsewhere already) to schedule an FTP upload from that folder up to the FTP site. All works great.

A huge advantage I have doing it this way, apart from getting a solution in place on 64 bit OS and Domino infrastructure is … I use Flow (from OpenNTF) to log and notify if there are any export failures and I use SyncBackSE’s email notification/logging if there are FTP problems - so I have good, granular, separate monitoring for both components.

If anyone wants more info on this just email me at the address in the earlier reply to this.

Mark

LogicSpot

Subject: different solution

for other people looking for a solution:I use the Java Class “JakartaFtpWrapper” with LS2J

This is a great example:

http://www.nsftools.com/tips/NotesTips.htm#ls2jexamples

greetings Martin