FTP Commands

Ответы на вопросы, чаще всего задаваемые в форумах VBStreets. Для тех, кому лень искать.
RayShade
Scarmarked
Scarmarked
Аватара пользователя
 
Сообщения: 5511
Зарегистрирован: 02.12.2002 (Пн) 17:11
Откуда: Russia, Saint-Petersburg

FTP Commands

Сообщение RayShade » 25.05.2004 (Вт) 10:59

CD file1 Change Directory. Changes to the directory specified in file1. Execute , "CD docsmydocs"



CDUP Change to Parent. Same as "CD .." Execute , "CDUP"



DELETE file1 Deletes the file specified in file1. Execute , "DELETE discard.txt"



DIR [ file1 ] Searches the directory specified in file1. If file1 isn't supplied, the current working directory is searched. Use the GetChunk method to return the data. Execute , "DIR /mydocs"



GET file1 file2 Retrieves the remote file specified in file1, and creates a new local file specified in file2. Execute , _

"GET getme.txt C:gotme.txt"





MKDIR file1 Creates a directory as specified in file1. Success is dependent on user privileges on the remote host. Execute , "MKDIR /myDir"



PUT file1 file2 Copies a local file specified in file1 to the remote host specified in file2. Execute , _

"PUT C:putme.txt /putme.txt"





PWD Print Working Directory. Returns the current directory name. Use the GetChunk method to return the data. Execute , "PWD"



QUIT Terminate current connection Execute , "QUIT"



RECV file1 file2 Same as GET. Execute , _

"RECV getme.txt C:gotme.txt"





RENAME file1 file2 Renames a file. Success is dependent on user privileges on the remote host. Execute ,

"RENAME old.txt new.txt"





RMDIR file1 Remove directory. Success is dependent on user privileges on the remote host. Execute , "RMDIR oldDir"



SEND file1 Copies a file to the FTP site. (same as PUT.) Execute , _

"SEND C:putme.txt /putme.txt"





SIZE file1 Returns the size of the file specified in file1. Execute

Вернуться в Популярные вопросы

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2

    TopList