Start a new topic
Answered

FTP Via a Scheduled Task

For purposes of setting up a Scheduled Task to automatically ftp some files to a website folder:

I found the following suggestion to first map webdrive in the batch file. But I can't make sense of the syntax. Which letter is being mapped and to what? That is, which of this text do I substitute the website and folder?


ECHO "Running FTP batch file!"

start /wait /D"c:\program files\webdrive" webdrive.exe /s:"Microsoft" copy x:\dirmap.txt c:\ start /wait /D"c:\program files\webdrive" webdrive.exe X: /


Best Answer

1. The local C:\ location points to the location of the webdrive.exe application. The location you have is the default, but it may be elsewhere.


2. Microsoft is the name of the site in WebDrive that you are attempting to map. After the /s: should be the sitename (as named in WebDrive when creating the site) in quotes


3. A file named dirmap.txt must be located in the root of the X:\ in order to be copied, and the user must have permissions to copy files from this location.


4. The site that is named Microsoft must be set to be mapped using the X drive letter. Otherwise, change out the assigned drive letter for X: in each location (Site Properties --> General Host Settings will list the drive letter for most connections - this menu item may have a different name depending on the protocol you are using to connect).


5. The user must have permissions to access and write to the root of the C:\ location the files are copying to.


If you are still having trouble, please submit a support ticket for further assistance.

1 Comment

Answer

1. The local C:\ location points to the location of the webdrive.exe application. The location you have is the default, but it may be elsewhere.


2. Microsoft is the name of the site in WebDrive that you are attempting to map. After the /s: should be the sitename (as named in WebDrive when creating the site) in quotes


3. A file named dirmap.txt must be located in the root of the X:\ in order to be copied, and the user must have permissions to copy files from this location.


4. The site that is named Microsoft must be set to be mapped using the X drive letter. Otherwise, change out the assigned drive letter for X: in each location (Site Properties --> General Host Settings will list the drive letter for most connections - this menu item may have a different name depending on the protocol you are using to connect).


5. The user must have permissions to access and write to the root of the C:\ location the files are copying to.


If you are still having trouble, please submit a support ticket for further assistance.

Login or Signup to post a comment
© 2016 South River Technologies®, Inc. - All Rights Reserved