Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP with CF 2.0

Status
Not open for further replies.

woyler

Programmer
Jun 20, 2001
678
US
Hi all,

I am getting an odd error during an FTP to an AS400. It happens completely at random. I can sometimes ftp 50 files with no error, and other times 2 errors in a row with the same files. This machine can FTP via CF 1.1 without error as well as with any other FTP method I have tried. Like I said it only happens with the CF 2.0 and I am at a loss. Any ideas? Here is the error;



System.Net.WebException: The remote server returned an error: (501) Syntax error in parameters or arguments.
at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
at System.Net.FtpWebRequest.RequestCallback(Object obj)
at System.Net.CommandStream.Abort(Exception e)
at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)

at System.Net.FtpWebRequest.GetRequestStream()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top