Jump to content
UBot Underground

[Buy] Ftp causing browser crash when script runs. Need help!


Recommended Posts

Hi. This is my first script question. I'm having problems downloading from  Here is my story: 1. I can connect using ftp in Ubot but I'm having a hard time downloading the file for the current date. I need to develop a script to visit the site and download the daily txt file. Notice the format that the file is in and notice that a file does not exist everyday. 2. I tried using the browser navigate but is causes a browser.exe crash. I need a script, that I can enter into my Ubot, that: 1. Visits the site 

Link to post
Share on other sites

for some reason the total post did not display. I need that once the site is visited that Ubot checks if the txt file exists for that date and downloads it to the desktop. Notice the file format and notice a file does not exist every day.

Link to post
Share on other sites

The browser crash is the doom of ubot and no one ever fixed it (sorry!)

 

1st. you can try Pash's "Advanced Ubot" plugin with the "auto close browser crash" command and set it up to the maximum time until the crash shows

2nd. you can try to disable windows error reporting completely and the crash window will disappear completely

3rd. you can try aymen's FTP plug to get the files list ..and from the rest is peace of cake

Link to post
Share on other sites

This is me messing around with it:

 

plugin command("FTPCommands.dll""connect to ftp server""FTP""ftp.dos.state.fl.us", 21, "anonymous""anonymous""/public/doc/FLR/DEBTORS/") {
    plugin command("FTPCommands.dll""ftp download file""20141029flrd.txt"$special folder("Application"))
}

Link to post
Share on other sites

plugin command("FTPCommands.dll""connect to ftp server""FTP""ftp.dos.state.fl.us", 21, "anonymous""anonymous""/public/doc/FLR/DEBTORS/") {
    add list to list(%ftpfilenames$plugin function("FTPCommands.dll""$ftp get files"""), "Delete""Global")
    if($plugin function("File Management.dll""$exists in list"%ftpfilenames"20141031flrd.txt")) {
        then {
            plugin command("FTPCommands.dll""ftp download file""20141031flrd.txt""{$special folder("My Documents")}/20141031flrd.txt")
        }
        else {
        }
    }
}

 

Just tested and works. Just need to change how you set today's date to name the file, etc.

 

HTH

Link to post
Share on other sites

here is that date part

 

 

set(#todays date$plugin function("DateTime Manipulation.dll""$datetime manipulation"$date"UBOT""yyyyMMdd""en-US""en-US"), "Global")
plugin command("FTPCommands.dll""connect to ftp server""FTP""ftp.dos.state.fl.us", 21, "anonymous""anonymous""/public/doc/FLR/DEBTORS/") {
    add list to list(%ftpfilenames$plugin function("FTPCommands.dll""$ftp get files"""), "Delete""Global")
    if($plugin function("File Management.dll""$exists in list"%ftpfilenames"{#todays date}flrd.txt")) {
        then {
            plugin command("FTPCommands.dll""ftp download file""{#todays date}flrd.txt""{$special folder("Desktop")}/{#todays date}flrd.txt")
        }
        else {
        }
    }
}

 

 

you can get date plugin at ubotdev,com

 

file management PI is http://www.ubotstudio.com/forum/index.php?/topic/13237-free-file-management-plugin-multiple-commands-and-functions/

 

they are both free

 

HTHelps,

 

CD

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...