Jump to content

Ftp And Urldownload


Recommended Posts

Is it possible to download from ftp using UrlDownload and then delete the file from server? I mean using the address alone with some syntax to delete. I looked around and I couldn't find any real kind of list for IE ftp syntax. I spose I could use cmd to do it, but I want to be able to send to the control if I do that and see the responses, because I want to keep this all hidden and unobtrusive. Am I doomed to use an ftp client to do this? I'd really rather not if I don't have to. Anyone have ideas/suggestions? Thank you for your time.

Edited by KnowledgeSponge
Link to comment
Share on other sites

Ftp

Transfers files to and from a computer running a File Transfer Protocol

(FTP) server service such as Internet Information Services. Ftp can be used

interactively or in batch mode by processing ASCII text files.

Syntax

ftp [-v] [-d] [-i] [-n] [-g] [-s:FileName] [-a] [-w:WindowSize] [-A] [Host]

Parameters

-v

Suppresses the display of FTP server responses.

-d

Enables debugging, displaying all commands passed between the FTP client and

FTP server.

-i

Disables interactive prompting during multiple file transfers.

-n

Suppresses the ability to log on automatically when the initial connection

is made.

-g

Disables file name globbing. Glob permits the use of the asterisk (*) and

question mark (?) as wildcard characters in local file and path names. For

more information, see <ms-its:ntcmds.chm::/ftp__glob.htm> Ftp: Glob.

-s:FileName

Specifies a text file that contains ftp commands. These commands run

automatically after ftp starts. This parameter allows no spaces. Use this

parameter instead of redirection (<).

-a

Specifies that any local interface can be used when binding the FTP data

connection.

-w:WindowSize

Specifies the size of the transfer buffer. The default window size is 4096

bytes.

-A

Logs onto the FTP server as anonymous.

Host

Specifies the computer name, IP address, or IPv6 address of the FTP server

to which to connect. The host name or address, if specified, must be the

last parameter on the line.

/?

Displays help at the command prompt.

Remarks

* You must prefix ftp parameters with a hyphen (-) rather than a slash

(/).

* Ftp command-line parameters are case-sensitive.

* This command is available only if the Internet Protocol (TCP/IP)

protocol is installed as a component in the properties of a network adapter

in

<ms-its:C:\WINDOWS\Help\ntcmds.chm::/EXEC=,rundll32.exe,SHELL32.DLL,Control_

RunDLL ncpa.cpl CHM=ntshared.chm FILE=alt_url_windows_component.htm> Network

Connections.

* Ftp can be used interactively. After it is started, ftp creates a

subenvironment in which you can use ftp commands. You can return to the

command prompt by typing the quit command. When the ftp subenvironment is

running, it is indicated by the ftp > command prompt.

* For more information about ftp subcommands, see Related Topics.

* Ftp supports the use of IPv6 when the IPv6 protocol is installed.

For more information, see <ms-its:IPv6.chm::/sag_IP_v6topnode.htm> IP

version 6 and <ms-its:IPv6.chm::/sag_ip_v6_und_ie.htm> IPv6 applications.

Examples

To log on to the FTP server named ftp.example.microsoft.com, type the

following command:

ftp ftp.example.microsoft.com

To anonymously log on to the FTP server named ftp.example.microsoft.com,

type the following command:

ftp -A ftp.example.microsoft.com

To log on to the FTP server named ftp.example.microsoft.com and run the ftp

commands contained in a file named Resynch.txt, type the following command:

ftp -s:resynch.txt ftp.example.microsoft.com

Link to comment
Share on other sites

Ite

Thanks for that, though it was not what I was hoping for, this opens up the second avenue of using cmd quite a bit more easily and with a completely stream lined approach. I'll be using this information. And I appreciate you taking the time to post it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...