FTP upload data to an operation only

Discussion in 'Site & Server Administration' started by Digital vB, Oct 2, 2011.

  1. #1
    Among the FTP client program supports today seems like nothing more than a simpleright click of the mouse, similar to how to create shortcut on the Desktop. In article below, we will introduce you to a small utility to do this.

    If you regularly work with ftp on a personal computer, this is one of the tools and excellent support is almost indispensable. But before starting to practice, we need to review how to set up, customize the Send To function in Windows Vista or 7. In essence, the Send To menu will display whenever we right-click a file or any folder that:

    [​IMG]

    To access the SendTo folder, you open Windows Explorer, and enter the following address in the Address bar:

    In particular, the %APPDATA% is the operating environment of the variables involved,and often point to the system partition as C:\users\<username>\AppData\ Roaming

    Here, you'll see a lot of shortcuts, like this:

    [​IMG]

    For example, if you want to open the file in NotePad you right-click, then you just drag and drop this shortcut into the NotePad. And NotePad will be displayed and normal operationeach time you click to:

    [​IMG]


    Back to the article, we will carry on the script is available, all you need do is fill in theinformation technology section blank, then make a shortcut in your Send To menu in Windows strategies. Some points to note here:

    [h=3]Connection Information:[/h]There are three variables you to look in the Connection Information:
    - Server: FTP address (eg ftp.mysite.com)
    - User name: Used to log
    - Password: For this variable, you can fix by entering your password on the value "SETPassword = 'or to ensure safety in terms of security, write an additional display functionsrequired to enter password each time operation. To do so, you change the password in the fixed part of "REM SET Password =" and put a footnote at the line immediately below (leave REM) to filter the value system of the "SET / P Password = Enter [...]"

    For the subdirectory on the FTP:

    In case you want to upload files directly to the subdirectory on the FTP, then just change the directory structure shown here. Look for lines of code beginning with "REM ECHOcd" and then lists the directory in order to forward. By eliminating this REM in the line, then enter the corresponding name of the directory after cd parameters, we were able toaccomplish the above requirements.

    For example, as follows, if you want to upload file to the directory "/Dir1/Files/Draft" onFTP, all you have to modify what will look like this:

    Some limitations:

    When using this script, all you need to keep in mind that:
    - The duplicate files will be overwritten, but the system does not display the message.
    - Only works with a separate file, do not apply to directories. For example, when youright-click a folder and any that want to upload by FTP is completely ineffective.
    - Some information relevant to the FTP server, UserName, Password or subdirectorywill be fixed in the code, so if you want to work with many different FTP site must becreated each script file corresponding to each FTP.

    The script can be downloaded directly from HowToGeek or via attachment








     

    Attached Files:

    Digital vB, Oct 2, 2011 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,798
    Likes Received:
    4,533
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Why would you bother when there are free ftp clients that are so easy to use?
     
    sarahk, Oct 2, 2011 IP
  3. mikeavery11

    mikeavery11 Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    I think you didn't heard about CuteFTP or Filezilla, they are really very user friendly and easy to use.
     
    mikeavery11, Oct 17, 2011 IP