Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.4k views
in .NET FTP by (200 points)
Hi,

I am facing below problem while downloading file from FTP server. Please help....!

Run-time exception thrown : EnterpriseDT.Net.Ftp.FTPException - File /users/111/users/111/common/xxxxxxxxx.csv not found (code=550)
edtFTPnet, Version=1.2.4.0



I am using .NET & enterpriseDT, below steps breif how i get the files. Actually i was working for so long.

1. I am able to connect to server using.

FTPconnection.connect()

2.Even Getfiles also able to see the list of files.

FTPconnection.GetFiles(/users/111/common/xxxxxxxxx.csv)

3. Even i have validated, It is True.

FTPconnection.Exsits(/users/111/common/xxxxxxxxx.csv)

4. Now when i go for downloadfile, it through the error.

FTPconnection.Exsits("C:\syp\xxxxxxx.csv","/users/111/common/xxxxxxxxx.csv") --- ERROR FILE NOT FOUND.

4 Answers

0 votes
by (162k points)
Post the log file at the Debug level.
0 votes
by (200 points)
I didnt have a debug level log for this.
But what would be the reason , it was not downloading suddenly ?

FTPconnection.DownloadFile("C:\syp\xxxxxxx.csv","/users/111/common/xxxxxxxxx.csv") -- Error


Exception:
Run-time exception thrown : EnterpriseDT.Net.Ftp.FTPException - File /users/111/users/111/common/xxxxxxxxx.csv not found (code=550)

Now my question is i am passing destination file path: users/111/common/xxxxxxxxx.csv, But in exception its repeating the File /users/111/users/111/common/xxxxxxxxx.csv not found .


why /users/111/ is repeated ?

Please help me in the above, thanks in advance.

Sunil.
0 votes
by (162k points)
If you post a debug log we can tell you what's happening. See

http://www.enterprisedt.com/products/ed ... gging.html
0 votes
by (200 points)
Hi Support2,

Problem is fixed, actually unable to find the reason what went wrong.

We made server restart & then were able to download. I will really looking into logging.


Thanks for the support..

Categories

...