Mikep7779 Posted April 8, 2006 Posted April 8, 2006 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?
jdoe Posted April 8, 2006 Posted April 8, 2006 (edited) 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, 2006 by jdoe
Mikep7779 Posted April 9, 2006 Author Posted April 9, 2006 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
Gouki Posted April 9, 2006 Posted April 9, 2006 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.
Sonic Posted April 9, 2006 Posted April 9, 2006 I have downloaded the vbs script, it seems okay for what you want Panda67.Recheck the page.
Mikep7779 Posted April 9, 2006 Author Posted April 9, 2006 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
gunsmokingman Posted April 10, 2006 Posted April 10, 2006 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 ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Mikep7779 Posted April 10, 2006 Author Posted April 10, 2006 Thanks, i was looking for that, i didnt know it would be in the options
gunsmokingman Posted April 10, 2006 Posted April 10, 2006 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.
Mikep7779 Posted April 11, 2006 Author Posted April 11, 2006 (edited) 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, 2006 by Panda67
gunsmokingman Posted April 11, 2006 Posted April 11, 2006 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/"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now