Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB9.0 VB.NET
Hi,
Got this Article FTP client library for .NET 2.0[^] by Howard Richards posted 20 Mar 2006.
 
I copied His sample: Download a file but instead of download, I change it with Upload, and aside from modifying the FTPPath, UserId and Password. I got the code to run, and again, got this error.
 
The remote server returned an error:(550) File unavailable
my path: ftp://filetransfer/testarea/cms/support/download/stmt
 
I'd been going around circle the whole 2 days for this. I'm new to ftp upload.
 
Any help with "codes" is very much appreciated. Hmmm | :|
 
[EDIT]Link to article added - LOSMAC[/EDIT]
Posted 12-Mar-12 22:25pm
Edited 17-Mar-12 10:06am
Maciej Los152.3K
v2
Comments
Dave Kreskowiak at 13-Mar-12 8:42am
   
Does that path exist on the FTP server?? Remember, it's not going to start at the root of C: or whatever drive is hosting. It'll start in the root folder the FTP server is configured to put everything under.
Alan Tuscano at 13-Mar-12 10:10am
   
Hi Dave and thank you for the reply.
 
Yes, ftp://filetransfer/testarea/cms/support/download/stmt exist.
 
I can access that path, and drag a file in it.
But inside my console program, which generates the excel workbook, and uploads that generated excel report, this error;
 
The remote server returned an error:(550) File unavailable

still appears.I'd been in circle with this error for 2 days. :(
shreekar at 27-Mar-12 15:19pm
   
Probably a stupid question - but are you trying to access the directory stmt as a file by mistake?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I noticed the space in "stmt exist" can you throw in a %20 in FTP URL?
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 480
1 Maciej Los 330
2 Richard MacCutchan 225
3 BillWoodruff 185
4 Suraj Sahoo | Coding Passion 155
0 OriginalGriff 8,759
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,269
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411028.1 | Last Updated 27 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100