Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

sunilkb

Posts

3

Joined

Tue Mar 01, 2011 8:08 pm

FTPCONNECTION.DownloadFile error - FTP unable to download

by sunilkb » Tue Mar 01, 2011 9:24 pm

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: FTPCONNECTION.DownloadFile error - FTP unable to downloa

by support2 » Tue Mar 01, 2011 9:54 pm

Post the log file at the Debug level.
no avatar
User

sunilkb

Posts

3

Joined

Tue Mar 01, 2011 8:08 pm

by sunilkb » Wed Mar 02, 2011 12:49 pm

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Mar 02, 2011 6:11 pm

If you post a debug log we can tell you what's happening. See

http://www.enterprisedt.com/products/ed ... gging.html
no avatar
User

sunilkb

Posts

3

Joined

Tue Mar 01, 2011 8:08 pm

by sunilkb » Wed Mar 02, 2011 6:15 pm

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..

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron