My.Computer.Network.DownloadFile fromk iSeries IFS shared folder

vagueante

Active member
Joined
Feb 20, 2009
Messages
28
Location
Portugal
Programming Experience
10+
Hi,

I have a problem when i use My.Computer.Network.DownloadFile from a iseries share path
VB.NET:
My.Computer.Network.DownloadFile(iseriesPathFile, "c:\file.ext", "user", "pwd", False, 1000, True)

If i use the windows explorer I can copy from and to that folder, but first i have to put my user and password.

Every time i run that code, it gives
"Access to the path '\\iSeriesName\FolderName\Filename' is denied."
It's not assuming/accepting the parameters .

I've tried with the iseries name like: "iseriesname/user", but the result it's always the same.

How can I do do this?

Thank you
 
Back
Top