473,516 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FTP Quote Command Equivalent

Hello,

I am trying to write FTP file Transfer code part but QUOTE command gets an
error, What is the equivalent of QUOTE command in Ftp Standards ?

Thank you.

---

string sReply = SendCommand("USER " + sUsername); // Reply Code : 331
if (sReply[0] != '3')

{

LastErrorMessage = sReply;

return 1;

}

sReply = SendCommand("PASS " + sPassword); // Reply Code : 230
if (sReply[0] != '2')

{

LastErrorMessage = sReply;

return 1;

}
sReply = SendCommand("QUOTE site lrecl=262 recfm=fb tr pri=999 sec=999"); //
Reply Code : 200
if (sReply[0] != '2')

{

LastErrorMessage = sReply; // << ERROR

return 1;

}
Apr 5 '06 #1
0 1239

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5144
by: Phil Powell | last post by:
I need to find a PHP equivalent to a very familiar TCL command "subst" (see http://www.hume.com/html84/mann/subst.html ). This command will take a string and evaluate anything TCL inside of it and return values. for example, if this were my line: set word {World}
2
1955
by: Code_Dark | last post by:
Hi, I'm new to the Python programming language, and eager to learn. I know C and C++, but I'm sure you all know that feeling when you just _need_ a new language. I chose python because I'd heard good things about it. I have python 2.3 installed on my computer, and I am glad to say that I've created a "Hello, World" program. Right, the only...
7
2126
by: Mark Harrison | last post by:
I'm writing some event-driven programs, and I would like to do the equivalent of the Tcl 'after' command, e.g.: after 1000 {puts "one second has elapsed"} 1. What's the most canonical way of doing this? 2. What's the best reference that talks about non-gui event loop programming in Python?
1
31148
by: Paul Speranza | last post by:
Does anyone know what the C# equivalent of the shell command is? I want to play an mp3 file using the users default player. Regards, Paul Speranza
0
7276
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1624
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
825
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.