KnowledgeSponge Posted May 11, 2004 Share Posted May 11, 2004 (edited) 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 May 11, 2004 by KnowledgeSponge Link to comment Share on other sites More sharing options...
brett Posted May 11, 2004 Share Posted May 11, 2004 does this help?ftp://username:password@hostname/ -Brett Link to comment Share on other sites More sharing options...
KnowledgeSponge Posted May 11, 2004 Author Share Posted May 11, 2004 Unfortunately, no. I am looking for more along the lines of a way to delete a file using the same method. Link to comment Share on other sites More sharing options...
brett Posted May 11, 2004 Share Posted May 11, 2004 Take a look at this, i dont think AutoIT can do much with FTP#15538 -Brett Link to comment Share on other sites More sharing options...
lte5000 Posted May 11, 2004 Share Posted May 11, 2004 FtpTransfers files to and from a computer running a File Transfer Protocol(FTP) server service such as Internet Information Services. Ftp can be usedinteractively or in batch mode by processing ASCII text files.Syntaxftp [-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 andFTP server. -i Disables interactive prompting during multiple file transfers. -n Suppresses the ability to log on automatically when the initial connectionis made. -g Disables file name globbing. Glob permits the use of the asterisk (*) andquestion mark (?) as wildcard characters in local file and path names. Formore information, see <ms-its:ntcmds.chm::/ftp__glob.htm> Ftp: Glob. -s:FileName Specifies a text file that contains ftp commands. These commands runautomatically after ftp starts. This parameter allows no spaces. Use thisparameter instead of redirection (<). -a Specifies that any local interface can be used when binding the FTP dataconnection. -w:WindowSize Specifies the size of the transfer buffer. The default window size is 4096bytes. -A Logs onto the FTP server as anonymous. Host Specifies the computer name, IP address, or IPv6 address of the FTP serverto which to connect. The host name or address, if specified, must be thelast 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 adapterin<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> NetworkConnections. * Ftp can be used interactively. After it is started, ftp creates asubenvironment in which you can use ftp commands. You can return to thecommand prompt by typing the quit command. When the ftp subenvironment isrunning, 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> IPversion 6 and <ms-its:IPv6.chm::/sag_ip_v6_und_ie.htm> IPv6 applications. ExamplesTo log on to the FTP server named ftp.example.microsoft.com, type thefollowing command:ftp ftp.example.microsoft.comTo anonymously log on to the FTP server named ftp.example.microsoft.com,type the following command:ftp -A ftp.example.microsoft.comTo log on to the FTP server named ftp.example.microsoft.com and run the ftpcommands 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 More sharing options...
KnowledgeSponge Posted May 11, 2004 Author Share Posted May 11, 2004 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now