Quantcast
Viewing all articles
Browse latest Browse all 24688

Retrieving AS/400 files via SSIS FTP?

Hi,

I'm running SSIS 2008 R2 SP1 (64 bits) and would need to download a text file via FTP from an iSeries (AS/400) server V6R1.

The SSIS FTP component works great against Windows and UNIX-like FTP servers, though I can't download any file from an AS/400 FTP.

Problem comes from the fact that AS/400 have two radically different filesystems :

One (DBFS) is based on a weird Library/File/Member model.

And another one called IFS (which looks pretty much like UNIX or Windows folder structure).

When one connects via FTP to the AS/400, one has to choose which filesystem will be used by running a native AS/400 FTP command

Here's my manual sequence (which runs OK);

FTP MyServer

(username)

(password)

ASCII

QUOTE SITE NAMEFMT 1        --> This native AS/400 FTP command let's me choose IFS filesystem

CD /MyFolder/MySubFolder

GET potatoes.txt

BYE

Same command fails from SSIS FTP component, because I can't find any way to send thisQUOTE SITE NAMEFMT 1 native AS/400 command.

Is there any way to send commands from SSIS FTP? Or should I run my AS/400 FTPs via a Windows batch (which work OK as well)

Thanks


Sebastian Sajaroff Senior DBA Pharmacies Jean Coutu


Viewing all articles
Browse latest Browse all 24688

Trending Articles