April 8, 200620 yr Well, i want to be able to right click something and have it sent to my ftp server if i select it from the Send to option. I tried to make a shortcut that was linked to ftp://user:pass@ip/public_html/Junk/. That didnt work, nor did it show in the send to dialog when i added it to the send to folder. How can i fix this?
April 8, 200620 yr I don't know your batch file writing skills but reading this should give you a good starting point.FTP ScriptFTP.EXE XP built-in command is what will help you doing it. Edited April 8, 200620 yr by jdoe
April 9, 200620 yr Author i can get it to connect and GET a fileHow can i get it to send a file without editing the cmd? I can doSend xxxx.xxxBut thats static, how can i get the file name to be dynamic
April 9, 200620 yr Go to this website and scroll down. It's the second one couting from the end.I have not tryed it, so, this is just a hint.
April 9, 200620 yr I have downloaded the vbs script, it seems okay for what you want Panda67.Recheck the page.
April 9, 200620 yr Author i have to set a LOCAL dir for it to send to and then i think it upload to the ftp site. I tried to set that local to c:\ and got some odd error. im about to format so ill look at it more when im back
April 10, 200620 yr You will have to edit some of the VBS file to allow that file to be uploaded.This color is where you have to add the file typeEG "log"The array should look like this with what you want to uploadarASCII = Array("txt", "cgi", "pl", "htm", "html", "asp", "js", "vbs", "log")' * * * * * * * * * * * * * * User Variables * * * * * * * * * * * * * * ' FTP address for the root of your web site: ' Example: "ftp.myISP.com" (check ISP help page for details) * FTPaddr = "billsway.com" ' Local folder that equates to the root of your web site: * BaseDir = "E:\BillsWay.com" ' FTP username for your site: * UserName = "username" ' FTP password for your site: * Password = "password" ' ---ADVANCED Setup Options--- * ' (If you don't know what ascii upload means, leave this alone!) ' Files to be uploaded in ASCII format: * arASCII = Array("txt", "cgi", "pl", "htm", "html", "asp", "js", "vbs") ' Suppress Popup if upload succeeded (True or False, no quotes): * ShowSuccess = False ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
April 10, 200620 yr Try replacing the path name \ with / that instead.Eg ftp://YOUR_SERVER/A_SUB_FOLDER/make sure the file path is in the same format.
April 11, 200620 yr Author heres what i have [\CODE] ' * * * * * * * * * * * * * * User Variables * * * * * * * * * * * * * * ' FTP address for the root of your web site: ' Example: "ftp.myISP.com" (check ISP help page for details) * FTPaddr = "00000000" ' Local folder that equates to the root of your web site: * BaseDir = "C:/Documents and Settings/Panda67/Desktop/" ' FTP username for your site: * UserName = "00000000" ' FTP password for your site: * Password = "000000000" ' ---ADVANCED Setup Options--- * ' (If you don't know what ascii upload means, leave this alone!) ' Files to be uploaded in ASCII format: * arASCII = Array("rar","bmp","jpg","log","txt", "cgi", "pl", "htm", "html", "asp", "js", "vbs") ' Suppress Popup if upload succeeded (True or False, no quotes): * ShowSuccess = False ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *[\/CODE]And now im getting it must be in that DIR or a sub dir ;/ Edited April 11, 200620 yr by Panda67
April 11, 200620 yr BaseDir = "C:/Documents and Settings/Panda67/Desktop/"That should be the ftp address not where it comming from, as that path is pass from the send to part,which is later in the script.BaseDir = "ftp://YOUR_SERVER/A_SUB_FOLDER/"
Create an account or sign in to comment